Skip to content

Instantly share code, notes, and snippets.

@jfreeze
Created March 2, 2020 23:15
Show Gist options
  • Save jfreeze/5fecf0198ba3e2193e7cca67682bd31b to your computer and use it in GitHub Desktop.
Save jfreeze/5fecf0198ba3e2193e7cca67682bd31b to your computer and use it in GitHub Desktop.
[postcss] ...prod mode detected, purging css
Hash: d1f9561b23eda5f7f0f9
Version: webpack 4.42.0
Time: 4017ms
Built at: 03/02/2020 11:12:02 PM
1 asset
Entrypoint ./js/app.js = app.js
[0] multi ./js/app.js 28 bytes {0} [built]
[1] ./js/app.js 493 bytes {0} [built]
[2] ./css/app.css 1.36 KiB {0} [built]
[3] ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src!./css/app.css 1.05 KiB {0} [built] [failed] [1 error]
[6] ../deps/phoenix_html/priv/static/phoenix_html.js 2.17 KiB {0} [built]
+ 2 hidden modules
ERROR in ./css/app.css (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src!./css/app.css)
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):
TypeError: Class constructor TailwindExtractor cannot be invoked without 'new'
at extractSelectors (/apps/builds/ElixirConf/assets/node_modules/purgecss/lib/purgecss.js:1:2432)
at PurgeCSS.extractSelectorsFromFiles (/apps/builds/ElixirConf/assets/node_modules/purgecss/lib/purgecss.js:1:5953)
at async /apps/builds/ElixirConf/assets/node_modules/postcss-purgecss/lib/postcss-purgecss.js:1:563
at /apps/builds/ElixirConf/assets/node_modules/webpack/lib/NormalModule.js:316:20
at /apps/builds/ElixirConf/assets/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /apps/builds/ElixirConf/assets/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/apps/builds/ElixirConf/assets/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /apps/builds/ElixirConf/assets/node_modules/postcss-loader/src/index.js:208:9
@ ./css/app.css 2:14-181
@ ./js/app.js
@ multi ./js/app.js
Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--5-2!node_modules/postcss-loader/src/index.js!css/app.css:
Entrypoint mini-css-extract-plugin = *
[0] ./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src!./css/app.css 499 bytes {0} [built] [failed] [1 error]
ERROR in ./css/app.css (./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src!./css/app.css)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
TypeError: Class constructor TailwindExtractor cannot be invoked without 'new'
at extractSelectors (/apps/builds/ElixirConf/assets/node_modules/purgecss/lib/purgecss.js:1:2432)
at PurgeCSS.extractSelectorsFromFiles (/apps/builds/ElixirConf/assets/node_modules/purgecss/lib/purgecss.js:1:5953)
at async /apps/builds/ElixirConf/assets/node_modules/postcss-purgecss/lib/postcss-purgecss.js:1:563
Check your digested files at "priv/static"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment