update package dependencies

This commit is contained in:
zombieFox 2021-09-26 23:36:27 +01:00
parent 3cd3b87938
commit cae7f4a066
5 changed files with 2045 additions and 7239 deletions

9211
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,20 +26,19 @@
},
"homepage": "https://github.com/zombieFox/nightTab#readme",
"devDependencies": {
"copy-webpack-plugin": "^6.4.1",
"css-loader": "^5.2.5",
"copy-webpack-plugin": "^9.0.1",
"css-loader": "^6.3.0",
"css-minimizer-webpack-plugin": "^3.0.2",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"mini-css-extract-plugin": "^2.2.0",
"moment": "^2.29.1",
"sortablejs": "^1.13.0",
"style-loader": "^2.0.0",
"style-loader": "^3.3.0",
"terser-webpack-plugin": "^5.1.4",
"webfontloader": "^1.6.28",
"webpack": "^5.37.1",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2",
"webpack-dev-server": "^4.2.1",
"webpack-merge": "^5.8.0",
"zip-webpack-plugin": "^4.0.1"
}

View File

@ -25,7 +25,7 @@ A neutral new tab page accented with a chosen colour. Customise the layout, styl
When developing use:
- `npm start`
A development server will run on `http://localhost:5000/`
A development server will automatically open the project in your browser. Normally here: `http://localhost:8080`.
To build the project use:

View File

@ -17,18 +17,16 @@ module.exports = {
use: ['style-loader', 'css-loader']
}, {
test: /\.(ttf|woff|woff2)$/,
use: {
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'font/'
}
type: 'asset/resource',
generator: {
filename: 'font/[name][ext]',
}
}, {
test: /\.(jpe?g|png|gif|svg)$/i,
use: [{
loader: 'file-loader',
}]
type: 'asset/resource',
generator: {
filename: 'image/[name][ext]',
}
}]
},
plugins: [

View File

@ -3,9 +3,5 @@ const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
port: 5000,
watchContentBase: true
}
devtool: 'inline-source-map'
});