vue-burger-menu
vue-burger-menu copied to clipboard
Could not load existing sourcemap
Could not load existing sourcemap
ParcelJS: 1.12.3 VueJS: 2.6.10
node_modules\vue-burger-menu\dist\vue-burger-menu.common.js:579:85: Unterminated regular expression (579:85)
577 | css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
578 | // http://stackoverflow.com/a/26603875
> 579 | css += '\n + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
| ^
580 | }
581 |
582 | if (styleElement.styleSheet) {
‼ Could not load existing sourcemap of "node_modules/vue-burger-menu/dist/vue-burger-menu.common.js".
What should I do?
which build you are using ?
using vue-burger-menu version 2.0.1
doing parcel serve for development
pointing to this ''' main": "./dist/vue-burger-menu.common.js '''
Well that's weird, can you try reproducing this issue on CodeSandbox ?
Not sure how CodeSandbox work with parceljs
Anyway, I got the files up on github https://github.com/mallim/vue-burger-menu-issue
just do
npx parcel index.html
Is it VueJS 2.6.0 problem or parceljs problem?
I think you might need Parcel source map loader - Please check this issue here - https://github.com/parcel-bundler/parcel/issues/741