Skip to content

Various chores and updates #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 15, 2020
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"cSpell.enabledLanguageIds": [
"json",
"jsonc",
"markdown",
"plaintext",
"shellscript",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module.exports = {

#### vue.config.js

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

``` js
Expand Down
40 changes: 20 additions & 20 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"version": "0.1",
"language": "en",
"words": [
"Andreas",
"codebeat",
"unstyled"
],
"flagWords": [],
"dictionaries": [
"css",
"typescript"
],
"ignorePaths": [
"**/*.svg",
"dist/**",
"node_modules/**",
"package.json",
"package-lock.json",
"tsconfig.json"
]
"version": "0.1",
"language": "en",
"words": [
"Andreas",
"codebeat",
"unstyled"
],
"flagWords": [],
"dictionaries": [
"css",
"typescript"
],
"ignorePaths": [
"**/*.svg",
"dist/**",
"node_modules/**",
"package.json",
"package-lock.json",
"tsconfig.json"
]
}
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@
"main": "dist/AsyncCssPlugin.js",
"types": "dist/AsyncCssPlugin.d.ts",
"scripts": {
"prebuild": "npm run lint",
"build": "webpack --mode production",
"prelint": "cspell '**/*.*' && markdownlint *.md",
"lint": "tslint --project tsconfig.json --config tslint.json --format verbose",
"prebuild": "npm run lint",
"build": "webpack --mode production",
"ci": "npm run build"
},
"devDependencies": {
"@types/html-webpack-plugin": "^3.2.2",
"@types/webpack": "^4.4.35",
"cspell": "^4.0.46",
"markdownlint-cli": "^0.21.0",
"terser-webpack-plugin": "^2.3.4",
"markdownlint-cli": "^0.22.0",
"terser-webpack-plugin": "^2.3.5",
"ts-loader": "^6.2.1",
"tslint": "^6.0.0",
"typescript": "^3.7.5",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11"
},
"dependencies": {},
"peerDependencies": {
Expand Down
12 changes: 5 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"compilerOptions": {
// Compilation options
"declaration": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"lib": [],
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"strict": true,
// Generation options
"declaration": true,
"outDir": "./dist/",
"sourceMap": true,
"target": "es2015"
"strict": true,
"target": "es2017"
}
}
}
12 changes: 2 additions & 10 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
const path = require("path");
const TerserPlugin = require('terser-webpack-plugin');
const TerserPlugin = require("terser-webpack-plugin");

module.exports = {
// cSpell: ignore devtool
devtool: 'source-map',
devtool: "source-map",
entry: "./src/AsyncCssPlugin.ts",
module: {
rules: [
{
test: /\.ts$/,
use: "ts-loader",
exclude: /node_modules/,
},
],
},
Expand All @@ -23,17 +21,11 @@ module.exports = {
optimization: {
minimizer: [
new TerserPlugin({
cache: true,
parallel: true,
sourceMap: true,
terserOptions: {
keep_classnames: true // We're using the class name in log output
}
}),
],
},
resolve: {
extensions: [".ts"],
},
target: "node"
};
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