Skip to content

Commit a458c10

Browse files
committed
consistent spaces
1 parent ed2487f commit a458c10

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

tslint.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
],
66
"jsRules": {},
77
"rules": {
8-
"one-line": false,
9-
"no-empty": false,
10-
"no-console": false,
11-
"indent": [true, "tabs"],
12-
"object-literal-shorthand": false,
8+
"one-line": false,
9+
"no-empty": false,
10+
"no-console": false,
11+
"indent": [true, "tabs"],
12+
"object-literal-shorthand": false,
1313
"quotemark": [true, "single"],
1414
"prefer-const": false,
1515
"eofline": false,

webpack.common.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path');
22

33
module.exports = {
44
entry: {
5-
app: './src/ts/sketchbook.ts'
5+
app: './src/ts/sketchbook.ts'
66
},
77
output: {
88
filename: './build/sketchbook.min.js',
@@ -15,23 +15,23 @@ module.exports = {
1515
cannon: path.resolve(__dirname, './src/lib/cannon/cannon.js')
1616
},
1717
extensions: [ '.tsx', '.ts', '.js' ],
18-
},
18+
},
1919
module: {
2020
rules: [
2121
{
2222
test: /\.tsx?$/,
2323
use: 'ts-loader',
2424
exclude: /node_modules/,
2525
},
26-
{
26+
{
2727
test: /\.css$/,
2828
use: [
29-
{ loader: 'style-loader', options: { injectType: 'singletonStyleTag' } },
30-
{ loader: 'css-loader' },
29+
{ loader: 'style-loader', options: { injectType: 'singletonStyleTag' } },
30+
{ loader: 'css-loader' },
3131
]
3232
}
3333
]
34-
},
34+
},
3535
performance: {
3636
hints: false
3737
}

webpack.prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ const merge = require('webpack-merge');
33
const common = require('./webpack.common.js');
44

55
module.exports = merge(common, {
6-
mode: 'production',
6+
mode: 'production',
77
plugins: [
88
new webpack.BannerPlugin({
99
banner:
1010
`Sketchbook 0.4 (https://github.com/swift502/Sketchbook)\nBuilt on three.js (https://github.com/mrdoob/three.js) and cannon.js (https://github.com/schteppe/cannon.js)`,
1111
}),
12-
]
12+
]
1313
});

0 commit comments

Comments
 (0)