Mini-css-extract-plugin: this[NS] is not a function

Created on 11 May 2018  路  3Comments  路  Source: webpack-contrib/mini-css-extract-plugin

Logging at mini-css-extract-plugin/dist/loader.js:147, NS is /Users/tom/Documents/projectName/node_modules/mini-css-extract-plugin/dist. It then calls this[NS](text), which fails as this[NS] is undefined.

Happens on 0.5.0 and 0.4.0 too. What gives?

Most helpful comment

did you add new MiniCssExtractPlugin() in the plugins array?

All 3 comments

did you add new MiniCssExtractPlugin() in the plugins array?

Duplicate of #73

@marvinhagemeister duplicate, thanks!

Was this page helpful?
0 / 5 - 0 ratings