Exports a webpack config that can be used to get a head-start on the next sweet OPi presentation.
npm install @objectpartners/presentation-config --save-dev
- Add a
webpack.config.js
in 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.