UNPKG

deployment-tools

Version:

A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts

15 lines (13 loc) 435 B
const webpackConfig = require('./webpack-config'); module.exports = webpackConfig({ hot: false, hash: true, debug: false, // Switch loaders to debug mode. optimize: true, // enable UglifyJsPlugin progress: true, colors: true, profile: true, // Capture timing information for each module. bail: true, // Report the first error as a hard error instead of tolerating it. devTool: 'source-map', banner: false, });