Last active
August 5, 2021 23:11
-
-
Save prajwal-stha/ca70a45d1e2165347b85d47b9e728a24 to your computer and use it in GitHub Desktop.
ERROR in ./~/prismjs/themes/prism.css Module parse failed: /Applications/MAMP/htdocs/wpd-beaver-popups/node_modules/prismjs/themes/prism.css Unexpected token (7:10) You may need an appropriate loader to handle this file type. | */ | | code[class*="language-"], | pre[class*="language-"] { | color: black; @ ./res/src/main.js 10:0-34 ERROR in js/bu…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add this line to package.json | |
| // "uglifyjs-webpack-plugin": "^1.0.1" | |
| //Add codes below on webpack.config.js | |
| const Uglify = require('uglifyjs-webpack-plugin') | |
| new Uglify({ | |
| sourceMap: false, | |
| uglifyOptions: { | |
| output: { | |
| beautify: false | |
| }, | |
| }, | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How did you fix this issue