added print tool to cards

This commit is contained in:
2021-01-25 22:19:21 +01:00
parent 1ca9937fd4
commit 72667f075a
34 changed files with 1943 additions and 139 deletions

View File

@@ -2,6 +2,7 @@
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const { VueLoaderPlugin } = require('vue-loader')
const ESLintPlugin = require('eslint-webpack-plugin');
const ExtraneousFileCleanupPlugin = require('webpack-extraneous-file-cleanup-plugin');
const utils = require('./utils')
@@ -21,6 +22,7 @@ module.exports = {
},
entry: {
'main': utils.resolve(themePath + '/assets/scripts/main.js'),
'print': utils.resolve(themePath + '/assets/styles/print.scss')
},
output: {
path: utils.resolve(themePath + '/assets/dist/'),
@@ -100,6 +102,10 @@ module.exports = {
// }
// }
// }
// {
// test: /\.css$/,
// use: [MiniCssExtractPlugin.loader, 'css-loader'],
// },
]
},
@@ -114,6 +120,11 @@ module.exports = {
// cache: false,
// ignore: true,
// useEslintrc: false,
}),
new ExtraneousFileCleanupPlugin({
extensions: ['.js'],
paths: [utils.resolve(themePath + '/assets/dist/')],
minBytes: 4096
})
]
}