Skip to content

Instantly share code, notes, and snippets.

@hyperh
Created December 5, 2016 03:43
Show Gist options
  • Select an option

  • Save hyperh/b648437ed380e4e91a31203b1d7e4677 to your computer and use it in GitHub Desktop.

Select an option

Save hyperh/b648437ed380e4e91a31203b1d7e4677 to your computer and use it in GitHub Desktop.
const path = require('path');
module.exports = {
publicPath: '/assets/',
assetsPath: path.join(__dirname, '..', 'dist', 'assets'),
commonLoaders: [
{
test: /\.js$/,
loader: 'babel',
include: path.join(__dirname, '..', 'app'),
exclude: path.join(__dirname, '..', 'node_modules'),
},
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment