Skip to content

Commit

Permalink
Removed datatables, password. Added multiselect.
Browse files Browse the repository at this point in the history
  • Loading branch information
diemuzi committed Jan 6, 2020
1 parent 93929d1 commit 378dbb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,16 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^16.0.0",
"@fortawesome/fontawesome-free": "^5.12.0",
"blockui-npm": "^1.0.0",
"bootstrap": "^4.4.1",
"datatables.net-bs4": "^1.10.20",
"datatables.net-buttons-bs4": "^1.6.1",
"datatables.net-responsive-bs4": "^2.2.3",
"datatables.net-scroller-bs4": "^2.0.1",
"datatables.net-select-bs4": "^1.3.1",
"jquery": "^3.4.1",
"npm-check-updates": "^4.0.1",
"popper.js": "^1.16.0",
"pwstrength-bootstrap": "^3.0.5"
"multiselect": "^0.9.12",
"popper.js": "^1.16.0"
},
"devDependencies": {
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.1",
"file-loader": "^5.0.2",
"mini-css-extract-plugin": "^0.9.0",
Expand Down
24 changes: 3 additions & 21 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin");
const RemovePlugin = require('remove-files-webpack-plugin');
Expand All @@ -18,21 +17,12 @@ module.exports = {
'bootstrap',
'@fortawesome/fontawesome-free',
'blockui-npm',
'pwstrength-bootstrap',
'datatables.net-bs4',
'datatables.net-buttons-bs4',
'datatables.net-responsive-bs4',
'datatables.net-scroller-bs4',
'datatables.net-select-bs4'
'multiselect'
],
'vendor-css': [
'bootstrap/dist/css/bootstrap.css',
'@fortawesome/fontawesome-free/css/all.css',
'datatables.net-bs4/css/dataTables.bootstrap4.css',
'datatables.net-buttons-bs4/css/buttons.bootstrap4.css',
'datatables.net-responsive-bs4/css/responsive.bootstrap4.css',
'datatables.net-scroller-bs4/css/scroller.bootstrap4.css',
'datatables.net-select-bs4/css/select.bootstrap4.css'
'multiselect/css/multi-select.css'
]
},
mode: 'production',
Expand Down Expand Up @@ -126,13 +116,6 @@ module.exports = {
//cleanAfterEveryBuildPatterns: ['**/*', '../*'],
dangerouslyAllowCleanPatternsOutsideProject: true
}),
new CopyWebpackPlugin([
{
from: '@ckeditor/ckeditor5-build-classic/build/ckeditor.js',
to: path.resolve(__dirname, 'diemuzi/static/webpack'),
context: 'node_modules'
}
]),
new MiniCssExtractPlugin({
filename: '[name].css',
chunkFilename: '[name].chunk.css'
Expand All @@ -147,8 +130,7 @@ module.exports = {
],
resolve: {
alias: {
'jquery': 'jquery/src/jquery',
'pwstrength-bootstrap': 'pwstrength-bootstrap/dist/pwstrength-bootstrap'
'jquery': 'jquery/src/jquery'
}
}
};

0 comments on commit 378dbb6

Please sign in to comment.