const rootDir = path.resolve(__dirname, '../../../');
-module.exports = function() {
+module.exports = function () {
return {
entry: {
material: path.join(rootDir, './app/Resources/static/themes/material/index.js'),
baggy: path.join(rootDir, './app/Resources/static/themes/baggy/index.js'),
},
-
output: {
filename: '[name].js',
path: path.resolve(rootDir, 'web/bundles/wallabagcore'),
$: 'jquery',
jQuery: 'jquery',
'window.$': 'jquery',
- 'window.jQuery': 'jquery'
+ 'window.jQuery': 'jquery',
}),
new StyleLintPlugin({
configFile: '.stylelintrc',
],
resolve: {
alias: {
- jquery: path.join(rootDir, 'node_modules/jquery/dist/jquery.js')
- }
+ jquery: path.join(rootDir, 'node_modules/jquery/dist/jquery.js'),
+ },
},
};
};