1.1.1 • Published 7 years ago

angular-app-rewired v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Usage

ng-rewired.js of your project root:

var stylusLoader = require('stylus-loader');

module.exports = {
  getStylesConfig: function (config) {
    config.plugins.push(new stylusLoader.OptionsPlugin({
      default: {
        include: [__dirname + '/node_modules']
      }
    }));
  }
}

modify script in package.json(ng -> ng-rewired):

"scripts": {
  "start": "ng-rewired serve",
  "build": "ng-rewired build --prod"
}

call ng-rewired-configs in shell, will show you all support configs for ng-rewired.js.

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago