ace-scripts
Configuration and scripts for Rax App.
Last updated 9 months ago by yacheng .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ace-scripts 
SYNC missed versions from official npm registry.

rax-scripts npm Dependency Status Known Vulnerabilities

Rax project development tools.

Commands

  • start Start development services, Default enable hot reload and inline-module-source-map.
  • build Bundle the project.

Customize Webpack Config

rax-scripts has its own default webpack configuration. Also you can modify the webpack configuration.

1. create webpack.config.rewire.js into project root.

rax-project
├── src
│   ├── App.css
│   ├── App.js
│   └── index.js
└── webpack.config.rewire.js

2. webpack.config.rewire.js accept a webpackConfig and return it.

like:

// webpack.config.rewire.js
const sassLoader = require.resolve('sass-loder');

module.exports = function (webpackConfig) {
  webpackConfig.module.loaders.push({
    test: /\.scss$/,
    loader: sassLoader,
  });

  return webpackConfig;
};

Current Tags

  • 0.1.0-beta.4                                ...           beta (8 months ago)
  • 0.0.7                                ...           latest (9 months ago)

8 Versions

  • 0.1.0-beta.4                                ...           8 months ago
  • 0.1.0-beta.3                                ...           8 months ago
  • 0.1.0-beta.1                                ...           8 months ago
  • 0.1.0-beta.0                                ...           8 months ago
  • 0.0.7                                ...           9 months ago
  • 0.0.5                                ...           9 months ago
  • 0.0.2                                ...           9 months ago
  • 0.0.1                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 8
Dependencies (66)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |