NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

vendor.js in Android snapshot but bundle.js isn't #1130

Open ghost opened 4 years ago

ghost commented 4 years ago

I wanted to put bundle.js in the snapshot but it seems to be excluded.

Is there any way around this? If I add another plugin entry in the webpack config the build process crashes with the message below.

        // ...

        config.plugins.push(new nsWebpack.NativeScriptSnapshotPlugin({
            chunk: "bundle",
            requireModules: [
                "tns-core-modules/bundle-entry-points",
            ],
            projectRoot,
            webpackConfig: config,
            snapshotInDocker,
            skipSnapshotTools,
            useLibs
        }));
# Fatal error in , line 0
# Check failed: blob.data.

Ping @NickIliev