Minor stylistic tweaks in Aurelia template
This commit is contained in:
parent
9e82629c1f
commit
599d5ed73d
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue