Minor stylistic tweaks in Aurelia template

This commit is contained in:
Steve Sanderson 2017-11-24 13:30:35 +00:00
parent 9e82629c1f
commit 599d5ed73d
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ var path = require('path');
var webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var extractCSS = new ExtractTextPlugin('vendor.css');
var { AureliaPlugin } = require('aurelia-webpack-plugin');
var AureliaPlugin = require('aurelia-webpack-plugin').AureliaPlugin;
module.exports = ({ prod } = {}) => {
const isDevBuild = !prod;
@ -45,7 +45,7 @@ module.exports = ({ prod } = {}) => {
},
plugins: [
extractCSS,
new AureliaPlugin({ aureliaApp: undefined, dist: "native-modules" }),
new AureliaPlugin({ aureliaApp: undefined, dist: 'native-modules' }),
new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }), // Maps these identifiers to the jQuery package (because Bootstrap expects it to be a global variable)
new webpack.DllPlugin({
path: path.join(__dirname, 'wwwroot', 'dist', '[name]-manifest.json'),