mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Fix build
This commit is contained in:
parent
3415f57757
commit
621d45e085
|
@ -3,7 +3,7 @@ import webpack from 'webpack';
|
|||
import CopyPlugin from 'copy-webpack-plugin';
|
||||
|
||||
const extpath = path.join(__dirname, '../src/browser/extension/');
|
||||
const mock = `${extpath}chromeAPIMock.js`;
|
||||
const mock = `${extpath}chromeAPIMock`;
|
||||
|
||||
const baseConfig = (params) => ({
|
||||
// devtool: 'source-map',
|
||||
|
@ -64,7 +64,7 @@ const baseConfig = (params) => ({
|
|||
app: path.join(__dirname, '../src/app'),
|
||||
tmp: path.join(__dirname, '../build/tmp'),
|
||||
},
|
||||
extensions: ['.js'],
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
@ -72,7 +72,7 @@ const baseConfig = (params) => ({
|
|||
? params.loaders
|
||||
: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
test: /\.(js|ts)x?$/,
|
||||
use: 'babel-loader',
|
||||
exclude: /(node_modules|tmp\/page\.bundle)/,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user