mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Stash
This commit is contained in:
parent
2effe4b442
commit
39f560f20e
|
@ -22,7 +22,7 @@
|
||||||
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\" --cache",
|
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\" --cache",
|
||||||
"lint:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --cache",
|
"lint:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --cache",
|
||||||
"lint:all": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
"lint:all": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
||||||
"prettify": "prettier \"**/*.{js,jsx,ts,tsx,json,css,html,md}\" --ignore-path .eslintignore --single-quote --write",
|
"prettify": "prettier \"**/*.{js,jsx,ts,tsx,json,css,html,md}\" --ignore-path .eslintignore --write",
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"test": "jest --onlyChanged",
|
"test": "jest --onlyChanged",
|
||||||
"test:all": "jest"
|
"test:all": "jest"
|
||||||
|
|
|
@ -4,7 +4,7 @@ const TerserPlugin = require('terser-webpack-plugin');
|
||||||
module.exports = (env = {}) => ({
|
module.exports = (env = {}) => ({
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
entry: {
|
entry: {
|
||||||
app: ['./src/index.js']
|
app: ['./src/index.tsx']
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
library: 'ReactJsonTree',
|
library: 'ReactJsonTree',
|
||||||
|
@ -15,7 +15,7 @@ module.exports = (env = {}) => ({
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.(ts|tsx)$/,
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
exclude: /node_modules/
|
exclude: /node_modules/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user