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