mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
15 lines
515 B
JavaScript
15 lines
515 B
JavaScript
const { GenerateNativeScriptEntryPointsPlugin } = require("./GenerateNativeScriptEntryPointsPlugin");
|
|
|
|
// backwards compatibility for <= 0.22 configs
|
|
exports.GenerateBundleStarterPlugin = (function () {
|
|
function GenerateBundleStarterPlugin() {
|
|
this.entryPointsPlugin = new GenerateNativeScriptEntryPointsPlugin("bundle");
|
|
};
|
|
|
|
GenerateBundleStarterPlugin.prototype.apply = function (compiler) {
|
|
this.entryPointsPlugin.apply(compiler);
|
|
}
|
|
|
|
return GenerateBundleStarterPlugin;
|
|
})();
|