Уборка
This commit is contained in:
parent
e8bfc0ae79
commit
3f51cd79d9
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,3 @@
|
||||
node_modules/
|
||||
package-lock.json
|
||||
|
||||
dist/
|
||||
game.js
|
||||
app/dist
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -10,6 +10,6 @@
|
||||
<canvas id="game" width="400" height="600"></canvas>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="game.js"></script>
|
||||
<script type="text/javascript" src="dist/game.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -2,10 +2,10 @@ const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: './js/index.js',
|
||||
context: path.resolve(__dirname, 'app'),
|
||||
mode: 'development',
|
||||
output: {
|
||||
// libraryExport: 'default',
|
||||
path: path.resolve(__dirname, '.'),
|
||||
path: path.resolve(__dirname, 'app/dist'),
|
||||
filename: 'game.js',
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user