aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Aurelia Bundler produces invalid sourcemap file and second sourcemap url #162

Closed Bitfiddler closed 7 years ago

Bitfiddler commented 7 years ago

I'm submitting a bug report

Please tell us about your environment:

Current behavior: I have my bundles.js config set to be inline, the bundler produces a separate (invalid) map file anyway with contents 'undefined' inside. It then appends a second sourcemap URL entry inside the app bundle after the base64 encoded inline content.

"bundles": {
    "dist/app-build": {
        "includes": [
            "[**/*.js]",
            "**/*.html!text",
            "**/*.css!text"
        ],
        "options": {
            "sourceMaps": 'inline'
            "inject": true,
            "minify": true,
            "depCache": true,
            "rev": true
        }
    },
ahmedshuhel commented 7 years ago

@Bitfiddler Pushed a new release out (0.6.2). Should fix this issue. Let us know if that works.

Bitfiddler commented 7 years ago

I was unable to test 0.6.2, but I attempted to migrate to 0.6.4 and it causes SystemJs loading errors so I have reverted back to 0.4.0 again.