nativescript-dev-webpack icon indicating copy to clipboard operation
nativescript-dev-webpack copied to clipboard

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

Open ghost opened this issue 5 years ago • 0 comments

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

ghost avatar Mar 18 '20 21:03 ghost