1.0.0 • Published 8 years ago
@objectpartners/presentation-config v1.0.0
opi-presentation-config
Exports a webpack config that can be used to get a head-start on the next sweet OPi presentation.
Usage
With Webpack
npm install @objectpartners/presentation-config --save-dev- Add a
webpack.config.jsin the root directory - Edit as below:
const getWebpackConfig = require('@objectpartners/presentation-config');
module.exports = getWebpackConfig({});This will export a webpack config containing all the necessary loaders (e.g. css, pug, typescript, etc.), so that you can get up and running as quick as possible.