Skip to content
Snippets Groups Projects
Commit dc2a2329 authored by Hermann's avatar Hermann
Browse files

inclide source of material-design-components for babel to resolve uglify building issues

parent 7279a7e5
No related branches found
No related tags found
No related merge requests found
const publicPath = '/dist';
const path = require('path');
const webpack = require('webpack');
const config = {
......@@ -46,7 +47,10 @@ const config = {
},
{
test: /\.js$/, // Check for all js files
exclude: /node_modules/,
include: [
path.resolve(__dirname, './src'),
path.resolve(__dirname, 'node_modules/@material'),
],
use: [{
loader: 'babel-loader',
options: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment