fix unused dotenv plugin
This commit is contained in:
parent
2dc5a0457b
commit
9e9081fa4a
|
@ -2,7 +2,6 @@ import path from 'path';
|
||||||
import {fileURLToPath} from 'url';
|
import {fileURLToPath} from 'url';
|
||||||
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
||||||
import CopyPlugin from 'copy-webpack-plugin';
|
import CopyPlugin from 'copy-webpack-plugin';
|
||||||
import DotenvWebpackPlugin from 'dotenv-webpack';
|
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
entry: './src/app.ts',
|
entry: './src/app.ts',
|
||||||
|
@ -20,7 +19,6 @@ const config = {
|
||||||
template: 'src/index.html',
|
template: 'src/index.html',
|
||||||
filename: 'index.html',
|
filename: 'index.html',
|
||||||
}),
|
}),
|
||||||
new DotenvWebpackPlugin(),
|
|
||||||
new CopyPlugin({
|
new CopyPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{ from: "**/*", to: "openmct/", context: "node_modules/openmct/dist"},
|
{ from: "**/*", to: "openmct/", context: "node_modules/openmct/dist"},
|
||||||
|
|
Loading…
Reference in a new issue