mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
485 B
TypeScript
20 lines
485 B
TypeScript
import * as webpack from 'webpack';
|
|
import DotenvPlugin = require('webpack-dotenv-plugin');
|
|
|
|
const config: webpack.Configuration = {
|
|
plugins: [
|
|
new DotenvPlugin(),
|
|
new DotenvPlugin({
|
|
sample: './.env.default',
|
|
path: './.env'
|
|
}),
|
|
new DotenvPlugin({
|
|
sample: './.env.default',
|
|
path: './.env',
|
|
silent: true,
|
|
encoding: 'utf-8',
|
|
allowEmptyValues: true
|
|
})
|
|
]
|
|
};
|