Is it possible to require a TypeScript file that has import statements into a JavaScript file?

前端 未结 0 1798
轻奢々
轻奢々 2021-01-26 06:31

I have a webpack.config.js-file in my typescript-project. I want to import some mock data to inject as a template parameter in HtmlWebpackPlugin. The problem is that the mock-da

相关标签:
回答
  • 消灭零回复
提交回复
热议问题