mirror of
https://github.com/whscullin/apple1js.git
synced 2024-12-13 05:29:06 +00:00
Merge pull request #49 from whscullin/whscullin/update-webpack
Update webpack
This commit is contained in:
commit
0d47c71b63
4025
package-lock.json
generated
4025
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -32,6 +32,7 @@
|
|||||||
"@types/micromodal": "^0.3.3",
|
"@types/micromodal": "^0.3.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
||||||
"@types/jest": "^29.5.3",
|
"@types/jest": "^29.5.3",
|
||||||
|
"@types/node": "^18.19.39",
|
||||||
"ajv": "^6.9.2",
|
"ajv": "^6.9.2",
|
||||||
"babel-jest": "^29.5.0",
|
"babel-jest": "^29.5.0",
|
||||||
"eslint": "^8.3.0",
|
"eslint": "^8.3.0",
|
||||||
@ -44,8 +45,8 @@
|
|||||||
"ts-loader": "^9.4.4",
|
"ts-loader": "^9.4.4",
|
||||||
"typescript": "^5.1.6",
|
"typescript": "^5.1.6",
|
||||||
"webpack": "^5.64.4",
|
"webpack": "^5.64.4",
|
||||||
"webpack-cli": "^4.9.1",
|
"webpack-cli": "^5.1.4",
|
||||||
"webpack-dev-server": "^4.6.0"
|
"webpack-dev-server": "^5.1.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@whscullin/cpu6502": "file:submodules/cpu6502",
|
"@whscullin/cpu6502": "file:submodules/cpu6502",
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
module.exports =
|
module.exports = {
|
||||||
{
|
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
entry: {
|
entry: {
|
||||||
apple1: path.resolve('js/entry1.js')
|
apple1: path.resolve('js/entry1.js'),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve('dist/'),
|
path: path.resolve('dist/'),
|
||||||
@ -16,24 +15,24 @@ module.exports =
|
|||||||
test: /\.ts$/i,
|
test: /\.ts$/i,
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: 'ts-loader'
|
loader: 'ts-loader',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.ts', '.js'],
|
extensions: ['.ts', '.js'],
|
||||||
alias: {
|
alias: {
|
||||||
js: path.resolve(__dirname, 'js/')
|
js: path.resolve(__dirname, 'js/'),
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
compress: true,
|
compress: true,
|
||||||
static: {
|
static: {
|
||||||
watch: {
|
watch: {
|
||||||
ignored: /(node_modules|test|\.git)/
|
ignored: /(node_modules|test|\.git)/,
|
||||||
},
|
},
|
||||||
directory: __dirname,
|
directory: __dirname,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user