Changed build location

This commit is contained in:
2022-09-13 23:01:33 +03:00
parent 7e667fd9e4
commit 36d249f92b
4 changed files with 3 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@
"description": "Add notes to twitch users (only visible to you)", "description": "Add notes to twitch users (only visible to you)",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "webpack && cp ./dist/twitch-notes.js './Twitch Notes/twitch-notes.js'" "build": "webpack"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -8,9 +8,8 @@ module.exports = {
twitchNotes: path.resolve(__dirname, 'src/index.ts'), twitchNotes: path.resolve(__dirname, 'src/index.ts'),
}, },
output: { output: {
path: path.resolve(__dirname, 'dist'), path: path.resolve(__dirname, 'Twitch Notes'),
filename: "twitch-notes.js", filename: "twitch-notes.js",
clean: true,
assetModuleFilename: "[name][ext]" assetModuleFilename: "[name][ext]"
}, },
module: { module: {