mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Fix extension
This commit is contained in:
parent
fe0ae5b921
commit
c5a705c392
|
@ -1,4 +1,5 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
const webpack = require('webpack');
|
||||||
const CopyPlugin = require('copy-webpack-plugin');
|
const CopyPlugin = require('copy-webpack-plugin');
|
||||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||||
|
|
||||||
|
@ -35,6 +36,9 @@ module.exports = function (env) {
|
||||||
filename: '[name].bundle.js',
|
filename: '[name].bundle.js',
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
new webpack.DefinePlugin({
|
||||||
|
'process.env.BABEL_ENV': JSON.stringify(process.env.NODE_ENV),
|
||||||
|
}),
|
||||||
new ForkTsCheckerWebpackPlugin({
|
new ForkTsCheckerWebpackPlugin({
|
||||||
typescript: {
|
typescript: {
|
||||||
configFile: 'tsconfig.json',
|
configFile: 'tsconfig.json',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user