Skip to content

Commit 17c722a

Browse files
Merge pull request #10 from andreashuber69/feature/chores-and-updates
Various chores and updates
2 parents e08d54b + c22e1f8 commit 17c722a

File tree

7 files changed

+59
-67
lines changed

7 files changed

+59
-67
lines changed

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"cSpell.enabledLanguageIds": [
3+
"json",
4+
"jsonc",
35
"markdown",
46
"plaintext",
57
"shellscript",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = {
8888

8989
#### vue.config.js
9090

91-
If your Vue project does not yet contain *[vue.config.js](https://cli.vuejs.org/config/)*, please create one in the same
91+
If your **Vue** project does not yet contain *[vue.config.js](https://cli.vuejs.org/config/)*, please create one in the same
9292
folder as *package.json*. Otherwise, please adapt accordingly:
9393

9494
``` js

cspell.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"version": "0.1",
3-
"language": "en",
4-
"words": [
5-
"Andreas",
6-
"codebeat",
7-
"unstyled"
8-
],
9-
"flagWords": [],
10-
"dictionaries": [
11-
"css",
12-
"typescript"
13-
],
14-
"ignorePaths": [
15-
"**/*.svg",
16-
"dist/**",
17-
"node_modules/**",
18-
"package.json",
19-
"package-lock.json",
20-
"tsconfig.json"
21-
]
2+
"version": "0.1",
3+
"language": "en",
4+
"words": [
5+
"Andreas",
6+
"codebeat",
7+
"unstyled"
8+
],
9+
"flagWords": [],
10+
"dictionaries": [
11+
"css",
12+
"typescript"
13+
],
14+
"ignorePaths": [
15+
"**/*.svg",
16+
"dist/**",
17+
"node_modules/**",
18+
"package.json",
19+
"package-lock.json",
20+
"tsconfig.json"
21+
]
2222
}

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@
2323
"main": "dist/AsyncCssPlugin.js",
2424
"types": "dist/AsyncCssPlugin.d.ts",
2525
"scripts": {
26-
"prebuild": "npm run lint",
27-
"build": "webpack --mode production",
2826
"prelint": "cspell '**/*.*' && markdownlint *.md",
2927
"lint": "tslint --project tsconfig.json --config tslint.json --format verbose",
28+
"prebuild": "npm run lint",
29+
"build": "webpack --mode production",
3030
"ci": "npm run build"
3131
},
3232
"devDependencies": {
3333
"@types/html-webpack-plugin": "^3.2.2",
3434
"@types/webpack": "^4.4.35",
3535
"cspell": "^4.0.46",
36-
"markdownlint-cli": "^0.21.0",
37-
"terser-webpack-plugin": "^2.3.4",
36+
"markdownlint-cli": "^0.22.0",
37+
"terser-webpack-plugin": "^2.3.5",
3838
"ts-loader": "^6.2.1",
3939
"tslint": "^6.0.0",
4040
"typescript": "^3.7.5",
41-
"webpack": "^4.41.5",
42-
"webpack-cli": "^3.3.10"
41+
"webpack": "^4.41.6",
42+
"webpack-cli": "^3.3.11"
4343
},
4444
"dependencies": {},
4545
"peerDependencies": {

tsconfig.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
{
22
"compilerOptions": {
3-
// Compilation options
3+
"declaration": true,
44
"forceConsistentCasingInFileNames": true,
5-
"moduleResolution": "node",
5+
"lib": [],
66
"noFallthroughCasesInSwitch": true,
77
"noImplicitReturns": true,
8-
"strict": true,
9-
// Generation options
10-
"declaration": true,
118
"outDir": "./dist/",
129
"sourceMap": true,
13-
"target": "es2015"
10+
"strict": true,
11+
"target": "es2017"
1412
}
15-
}
13+
}

webpack.config.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
const path = require("path");
2-
const TerserPlugin = require('terser-webpack-plugin');
2+
const TerserPlugin = require("terser-webpack-plugin");
33

44
module.exports = {
55
// cSpell: ignore devtool
6-
devtool: 'source-map',
6+
devtool: "source-map",
77
entry: "./src/AsyncCssPlugin.ts",
88
module: {
99
rules: [
1010
{
11-
test: /\.ts$/,
1211
use: "ts-loader",
13-
exclude: /node_modules/,
1412
},
1513
],
1614
},
@@ -23,17 +21,11 @@ module.exports = {
2321
optimization: {
2422
minimizer: [
2523
new TerserPlugin({
26-
cache: true,
27-
parallel: true,
28-
sourceMap: true,
2924
terserOptions: {
3025
keep_classnames: true // We're using the class name in log output
3126
}
3227
}),
3328
],
3429
},
35-
resolve: {
36-
extensions: [".ts"],
37-
},
3830
target: "node"
3931
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy