mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-21 15:43:08 +01:00
update package dependencies
This commit is contained in:
parent
3cd3b87938
commit
cae7f4a066
9251
package-lock.json
generated
9251
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -26,20 +26,19 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/zombieFox/nightTab#readme",
|
"homepage": "https://github.com/zombieFox/nightTab#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"copy-webpack-plugin": "^6.4.1",
|
"copy-webpack-plugin": "^9.0.1",
|
||||||
"css-loader": "^5.2.5",
|
"css-loader": "^6.3.0",
|
||||||
"css-minimizer-webpack-plugin": "^3.0.2",
|
"css-minimizer-webpack-plugin": "^3.0.2",
|
||||||
"file-loader": "^6.2.0",
|
|
||||||
"html-webpack-plugin": "^5.3.1",
|
"html-webpack-plugin": "^5.3.1",
|
||||||
"mini-css-extract-plugin": "^2.2.0",
|
"mini-css-extract-plugin": "^2.2.0",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"sortablejs": "^1.13.0",
|
"sortablejs": "^1.13.0",
|
||||||
"style-loader": "^2.0.0",
|
"style-loader": "^3.3.0",
|
||||||
"terser-webpack-plugin": "^5.1.4",
|
"terser-webpack-plugin": "^5.1.4",
|
||||||
"webfontloader": "^1.6.28",
|
"webfontloader": "^1.6.28",
|
||||||
"webpack": "^5.37.1",
|
"webpack": "^5.37.1",
|
||||||
"webpack-cli": "^4.7.0",
|
"webpack-cli": "^4.7.0",
|
||||||
"webpack-dev-server": "^3.11.2",
|
"webpack-dev-server": "^4.2.1",
|
||||||
"webpack-merge": "^5.8.0",
|
"webpack-merge": "^5.8.0",
|
||||||
"zip-webpack-plugin": "^4.0.1"
|
"zip-webpack-plugin": "^4.0.1"
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ A neutral new tab page accented with a chosen colour. Customise the layout, styl
|
|||||||
When developing use:
|
When developing use:
|
||||||
- `npm start`
|
- `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:
|
To build the project use:
|
||||||
|
@ -17,18 +17,16 @@ module.exports = {
|
|||||||
use: ['style-loader', 'css-loader']
|
use: ['style-loader', 'css-loader']
|
||||||
}, {
|
}, {
|
||||||
test: /\.(ttf|woff|woff2)$/,
|
test: /\.(ttf|woff|woff2)$/,
|
||||||
use: {
|
type: 'asset/resource',
|
||||||
loader: 'file-loader',
|
generator: {
|
||||||
options: {
|
filename: 'font/[name][ext]',
|
||||||
name: '[name].[ext]',
|
|
||||||
outputPath: 'font/'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
test: /\.(jpe?g|png|gif|svg)$/i,
|
test: /\.(jpe?g|png|gif|svg)$/i,
|
||||||
use: [{
|
type: 'asset/resource',
|
||||||
loader: 'file-loader',
|
generator: {
|
||||||
}]
|
filename: 'image/[name][ext]',
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -3,9 +3,5 @@ const common = require('./webpack.common.js');
|
|||||||
|
|
||||||
module.exports = merge(common, {
|
module.exports = merge(common, {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
devtool: 'inline-source-map',
|
devtool: 'inline-source-map'
|
||||||
devServer: {
|
|
||||||
port: 5000,
|
|
||||||
watchContentBase: true
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user