Skip to content

Commit 4174067

Browse files
committed
.
1 parent 7c864fc commit 4174067

23 files changed

+376
-113
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/node_modules/
22
/.idea/
3-
/dist/*
3+
#/dist/*

_webpack.config.js

-38
This file was deleted.

_webpack.config.prod.js

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// // var HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');
2+
// var HtmlWebpackPlugin = require('html-webpack-plugin');
3+
// const CopyWebpackPlugin = require('copy-webpack-plugin');
4+
// const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
5+
// const TerserPlugin = require('terser-webpack-plugin');
6+
//
7+
// var path = require('path');
8+
//
9+
// module.exports = {
10+
// mode: 'development',
11+
// devServer: {
12+
// contentBase: 'dist',
13+
// port: 3000
14+
// },
15+
// devtool: 'inline-source-map',
16+
//
17+
// entry: './src/index.js',
18+
// output: {
19+
// path: path.resolve(__dirname, './dist'),
20+
// filename: 'index_bundle.js'
21+
// },
22+
// optimization: {
23+
// // minimize: true,
24+
// // minimizer: [
25+
// // new TerserPlugin({
26+
// // cache: true,
27+
// // parallel: true,
28+
// // terserOptions: {
29+
// // ecma: 10, // обратите внимание, что это последняя версия стандарта!
30+
// // compress: true,
31+
// // output: {
32+
// // comments: false,
33+
// // beautify: false
34+
// // }
35+
// // }
36+
// // })
37+
// // ]
38+
// // minimizer: [new UglifyJSPlugin({
39+
// // uglifyOptions: {
40+
// // output: {
41+
// // comments: false //use it for removing comments like "/*! ... */"
42+
// // }
43+
// // }
44+
// // })]
45+
// },
46+
// plugins: [
47+
// new CopyWebpackPlugin( {
48+
// patterns: [
49+
// {
50+
// from: 'build/assets/images', to: 'images'
51+
// }
52+
// ]
53+
// }),
54+
// new HtmlWebpackPlugin({
55+
// template: 'build/index.html',
56+
// filename: 'index.html'
57+
// }),
58+
// new HtmlWebpackPlugin({
59+
// // inlineSource: '.(js|css)$' // embed all javascript and css inline
60+
// }),
61+
// // new HtmlWebpackInlineSourcePlugin()
62+
// ]
63+
//
64+
// };
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

build/assets/sounds/bird/sound1.mp3

9.75 KB
Binary file not shown.

package-lock.json

+117-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@
55
"private": true,
66
"dependencies": {
77
"lodash": "^4.17.20",
8+
"pixi-sound": "^3.0.5",
89
"pixi.js": "^5.3.3"
910
},
1011
"devDependencies": {
12+
"@types/lodash": "^4.14.165",
13+
"clean-webpack-plugin": "^3.0.0",
1114
"copy-webpack-plugin": "^6.2.1",
12-
"html-webpack-inline-source-plugin": "^1.0.0-beta.2",
1315
"html-webpack-plugin": "^4.5.0",
16+
"inline-chunk-html-plugin": "^1.1.1",
17+
"script-ext-html-webpack-plugin": "^2.1.5",
1418
"terser-webpack-plugin": "^5.0.3",
19+
"ts-loader": "^8.0.10",
20+
"typescript": "^4.0.5",
1521
"uglifyjs-webpack-plugin": "^2.2.0",
1622
"webpack": "^5.3.0",
1723
"webpack-cli": "^4.2.0",

src/index.js src/__index.js

File renamed without changes.

0 commit comments

Comments
 (0)