ness.config.js
We're trying to save you the hassle of configuring your applications, so we've developed config file rules where you can change whatever you need.
Port configurationβ
ness.config.js
module.exports = { port: 3000,}
Plugins configurationβ
Read more about plugins here.
npm install --save ness-xxx
ness.config.js
module.exports = { plugins: ['xxx'],}
Available optionsβ
- enableSourceMaps - true/false enables source maps for static files.
- verbose - true/false enables verbose output.
- debug - debug options
Options:
- options: false - print webpackOptions that will be used in webpack config
- config: false - print webpack config
- nodeExternals: false - print node externals debug info
ness.config.js
module.exports = { options: { enableSourceMaps: true }}