mirror of
https://github.com/whscullin/apple1js.git
synced 2024-12-21 11:30:00 +00:00
Update webpack
This commit is contained in:
parent
18f2fc7acf
commit
1e330e69df
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",
|
||||
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
||||
"@types/jest": "^29.5.3",
|
||||
"@types/node": "^18.19.39",
|
||||
"ajv": "^6.9.2",
|
||||
"babel-jest": "^29.5.0",
|
||||
"eslint": "^8.3.0",
|
||||
@ -44,8 +45,8 @@
|
||||
"ts-loader": "^9.4.4",
|
||||
"typescript": "^5.1.6",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^5.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@whscullin/cpu6502": "file:submodules/cpu6502",
|
||||
|
@ -1,11 +1,10 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports =
|
||||
{
|
||||
module.exports = {
|
||||
mode: 'development',
|
||||
devtool: 'source-map',
|
||||
entry: {
|
||||
apple1: path.resolve('js/entry1.js')
|
||||
apple1: path.resolve('js/entry1.js'),
|
||||
},
|
||||
output: {
|
||||
path: path.resolve('dist/'),
|
||||
@ -16,24 +15,24 @@ module.exports =
|
||||
test: /\.ts$/i,
|
||||
use: [
|
||||
{
|
||||
loader: 'ts-loader'
|
||||
loader: 'ts-loader',
|
||||
},
|
||||
],
|
||||
exclude: /node_modules/,
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js'],
|
||||
extensions: ['.ts', '.js'],
|
||||
alias: {
|
||||
js: path.resolve(__dirname, 'js/')
|
||||
}
|
||||
js: path.resolve(__dirname, 'js/'),
|
||||
},
|
||||
},
|
||||
devServer: {
|
||||
compress: true,
|
||||
static: {
|
||||
watch: {
|
||||
ignored: /(node_modules|test|\.git)/
|
||||
ignored: /(node_modules|test|\.git)/,
|
||||
},
|
||||
directory: __dirname,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user