derby-webpack

2.0.0 • Public • Published

derby-webpack

Derby.js client and server bundling through Webpack.

Usage

TBD

Why

Browserify doesn't allow to incrementally rebuild the bundle (doesn't have this feature built in). And as the application grows, compilation of coffee/jade/stylus and derby views takes too much time. This is the prototype of Derby.js app which uses Webpack for client bundling and hot reloading of styles (views and components are also being hot reloaded but they currently apply changes via client-side page refresh).

Caveats

tag, attributes, arrays when defining derby templates are not supported yet. So right now you have to always use view(is='template') when calling a template. And you can specify attributes or arrays when you call the template like this:

view(is='template')
  attribute(is='title') Hello
  array(is='tab' title='One') Ping
  array(is='tab' title='Two') Pong

Linters

Stylus linter

Linter documentation here. Configuration properties here. Stylint and Stylint-loader loader should be installed to use stylint.

Coffee Linter

Linter documentation here. Coffelint and coffeelint-loader loader should be installed to use coffeeLinter.

MIT Licence

Copyright (c) 2015 Pavel Zhukov

Readme

Keywords

none

Package Sidebar

Install

npm i derby-webpack

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

58.3 kB

Total Files

31

Last publish

Collaborators

  • cray0000
  • hillo
  • ovvn
  • vmakhaev
  • yska
  • zag2art