Skip to content

Instantly share code, notes, and snippets.

@prajwal-stha
Last active August 5, 2021 23:11
Show Gist options
  • Select an option

  • Save prajwal-stha/ca70a45d1e2165347b85d47b9e728a24 to your computer and use it in GitHub Desktop.

Select an option

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…
// 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
},
},
})
@amandeep0
Copy link

How did you fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment