actum / gulp-dev-stack

Actum dev stack based on gulp
MIT License
11 stars 7 forks source link

Replace browserify with webpack module bundler #64

Closed zoltan-kovac closed 8 years ago

zoltan-kovac commented 8 years ago

1. Use webpack to bundle css, html and javascript files.

Using webpack stream and loaders packages we can move all transformation plugins to one webpack configuration file. http://blog.andrewray.me/webpack-when-to-use-and-why/

2. Use webpack for linting and autoprefixing

vbulant commented 8 years ago

Let’s start with 1. – JS bundling and linting.

Then we can decide what to do next.

janpanschab commented 8 years ago

But only 1.c. Use webpack to bundle JavaScript. And use Webpack 2 beta version.

Next steps:

  1. webpack linting
  2. webpack dev server (how to do it with browserSync?)
  3. bundle styles with webpack and extract them into separate file
kettanaito commented 8 years ago

Webpack is particularly interesting for its Code Splitting. This is a really useful thing to do in the future.

zoltan-kovac commented 8 years ago

Merged with config-new branch