A Cordova plugin that automatically transpiles ES2015+/TypeScript and SCSS files, then bundles them with Webpack during the build process. Version 0.3.1 is the latest, but the project is experimental and has had no releases since 2018. It supports multiple transpiler configurations (Babel, TypeScript) and two project structures (sibling and external). Key differentiators include seamless integration with Cordova lifecycle hooks, automatic configuration file generation, and support for both Babel and TypeScript transpilers. However, it is no longer maintained and may have compatibility issues with modern Cordova versions.
npm install cordova-plugin-webpack-transpilerNo compatibility data collected yet for this library.
No code import is needed; the plugin works via Cordova hooks.
Review scripts folder before installing and ensure you trust the code.
Use Node 5.x or later, but consider migrating to a maintained alternative.
Remove existing config files before adding/reconfiguring plugin.
Always run the command again if plugin was auto-added during build.
Remove plugin, delete webpack.config.js, webpack.common.js, tsconfig.json, .babelrc, and node_modules, then re-add with new config variable.
Use a modern alternative like cordova-plugin-webpack or manual webpack integration.
Run 'npm install webpack@1.x --save-dev' in the project root.
Use Cordova CLI locally, not PhoneGap Build.
Check webpack.config.js and webpack.common.js exist and are valid.
Re-run your previous cordova command after plugin installation.