mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Trivial simplifications to webpack.config.js.
This commit is contained in:
parent
f3f8d635d5
commit
a17ac59aef
1 changed files with 1 additions and 5 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
const path = require("path");
|
|
||||||
const webpack = require("webpack");
|
const webpack = require("webpack");
|
||||||
|
|
||||||
function config(options) {
|
function config(options) {
|
||||||
|
@ -23,7 +22,7 @@ function config(options) {
|
||||||
{
|
{
|
||||||
"loader": "ts-loader",
|
"loader": "ts-loader",
|
||||||
"options": {
|
"options": {
|
||||||
"configFile": path.resolve(__dirname, "tsconfig.json")
|
"configFile": "../demo/tsconfig.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -39,9 +38,6 @@ function config(options) {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
new webpack.BannerPlugin({
|
new webpack.BannerPlugin({
|
||||||
"banner": `${name} ${version} ${homepage} @license ${license}`
|
"banner": `${name} ${version} ${homepage} @license ${license}`
|
||||||
}),
|
|
||||||
new webpack.DefinePlugin({
|
|
||||||
"process.env.NODE_DEBUG": false
|
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
"resolve": {
|
"resolve": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue