electron-webpack-quick-start icon indicating copy to clipboard operation
electron-webpack-quick-start copied to clipboard

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

Open AlekzZz opened this issue 6 years ago • 1 comments

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

AlekzZz avatar Nov 11 '18 19:11 AlekzZz

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

Krelborn avatar Jan 29 '19 09:01 Krelborn