mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-08 11:54:22 +01:00
html: drop backoff support
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
const { merge } = require('webpack-merge');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
@@ -41,13 +40,9 @@ const baseConfig = {
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
extensions: [ '.tsx', '.ts', '.js' ],
|
||||
fallback: { "util": require.resolve("util/") }
|
||||
extensions: [ '.tsx', '.ts', '.js' ]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
"process.env.NODE_DEBUG": JSON.stringify(process.env.NODE_DEBUG), // used by util
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns:[
|
||||
{ from: './favicon.png', to: '.' }
|
||||
|
||||
Reference in New Issue
Block a user