SimonAlling / userscripter

Create userscripts in a breeze!
https://www.npmjs.com/package/userscripter
MIT License
100 stars 10 forks source link

Bootstrapped Userscript doesn't compile #15

Closed SimonAlling closed 4 years ago

SimonAlling commented 4 years ago

Steps to reproduce:

$ npm install -g userscripter
$ userscripter init
$ npm install
$ npm run build

Expected result:

Bootstrapped Userscripter compiles successfully.

Actual result:

ℹ 「atl」: Using typescript@3.7.5 from typescript
ℹ 「atl」: Using tsconfig.json from /home/alling/dev/lol/tsconfig.json
TypeError: Cannot read property 'source' of undefined
    at compiler.hooks.afterCompile.tap.compilation ([...]/node_modules/userscripter/build/internal/webpack-plugin.js:35:59)