electron-userland / electron-webpack-quick-start

A bare minimum project structure to get started developing with electron-webpack.
https://webpack.electron.build/
730 stars 258 forks source link

error when compiling dll when there is '@' in package name #46

Open AlekzZz opened 6 years ago

AlekzZz commented 6 years ago

Config:

"electronWebpack": {
  "renderer": {
    "dll": [
      "@material-ui/core",
      "@material-ui/icons",
      ...
    ]
  }
},

ERROR in vendor.js from Terser Unexpected character '@' [external "@material-ui/core":1,0][vendor.js:98,17]

if I remove @material-ui/core and @material-ui/icons all is good

Krelborn commented 5 years ago

Did you find a solution to this? Just hit the exact same problem.