All Projects → thinkshout → webpack_example

thinkshout / webpack_example

Licence: other
An example, minimal Drupal theme that uses Webpack.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Example Webpack Drupal theme

This is an example Drupal theme that uses Webpack, and is meant to accompany a blog post that goes through its features.

Installation

git clone [email protected]:thinkshout/webpack_example.git
cd webpack_example
npm install

Use

# Start a production build and watch for changes.
npm run start
# Start a development build and watch for changes.
npm run start:dev
# Run a one-time production build.
npm run build
# Run a one-time development build.
npm run build:dev

If the dist_dev directory exists and your cache is clear, this theme will use its contents instead of dist. The first time you run a development build you may have to run rebuild caches to see your changes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].