-
-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module build failed: TypeError: this[NS] is not a function #219
Comments
Duplicate #73 |
@evilebottnawi but i have add the new MiniCssExtractPlugin() to the plugins array ,but it still not work well. |
@kingda please create minimum reproducible test repo in issue above and ping me |
@kingda in todo list tomorrow |
@kingda Original problem jantimon/html-webpack-plugin#579, not related to this plugin, need fix it in |
@evilebottnawi fine,i will put a new issue on html webpack plugin, but i try to fix it exploring your code,the problem is that the loadercontext does not have the NS property when it complied with node target. so any other solution for the node environment? |
@evilebottnawi I don't know how this could be fixed inside the html-webpack-plugin Could we use a weak map instead of E.g.
|
I still get this problem when trying to include a css file in a template using,
|
This happened when used it with HtmlWebpackPlugin.
Some Files were shown below:
webpack.config.js
temp.ejs:
renderApp.js
when run webpack ,the errors are “ERROR in ./style.css
I realized the key point of this problem was how to output ejs variable in the right way ? so help me to fix it . Thanks ~
The text was updated successfully, but these errors were encountered: