When creating modern web applications, you want the best tools to help you build them. Webpack is one of the most versatile, powerful and popular module bundlers out there today, and with this starter kit, you can start creating value from the get-go!
In addition to Webpack, this starter kit bootstraps the suggested project folder structure, and creates some NPM scripts for triggering different tasks.
- Added plugin enabling support of class properties
- Enabled transpilation of Typescript code
- Enabled processing of server-side resources
- Enabled the Starter to be used for sites
- Initial release
Clone Webpack Starter
This version requires XP 7.0.0 or above.
Use Enonic CLI to set up your project.
Run the following command:
This version requires XP 6.15.0
To initialize a new project based on Webpack Starter, execute the command below. Remember to replace <com.company.myapp> with a unique name for your app, and </my/projects> with the location you want to store the project. <$XP_INSTALL> is the location of your XP installation.
The init-project tool initializes a new application project structure by retrieving a Git repository, removing all references to the Git repository, and adapting its build file properties (gradle.properties).