mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
Use asset resources in redux-devtools-app Webpack builds (#1019)
* Use asset resources in redux-devtools-app * Add folders to .eslintignore
This commit is contained in:
parent
2665e2768d
commit
58954c7989
|
@ -1 +1,3 @@
|
|||
build
|
||||
dist
|
||||
umd
|
||||
|
|
|
@ -94,7 +94,6 @@
|
|||
"eslint-plugin-jest": "^25.3.4",
|
||||
"eslint-plugin-react": "^7.28.0",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"file-loader": "^6.2.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-loader": "^3.0.1",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
|
@ -111,7 +110,6 @@
|
|||
"ts-node": "^10.4.0",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "~4.5.4",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.65.0",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.7.2"
|
||||
|
|
|
@ -32,18 +32,8 @@ export default (
|
|||
use: [{ loader: 'style-loader' }, { loader: 'css-loader' }],
|
||||
},
|
||||
{
|
||||
test: /\.(png|gif|jpg)$/,
|
||||
loader: 'url-loader',
|
||||
options: {
|
||||
limit: '25000',
|
||||
outputPath: 'images/',
|
||||
publicPath: 'images/',
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|eot|svg|woff|woff2)$/,
|
||||
loader: 'file-loader',
|
||||
options: { outputPath: 'fonts/', publicPath: 'fonts/' },
|
||||
test: /\.woff2$/,
|
||||
type: 'asset/resource',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -32,13 +32,8 @@ export default (env: { production?: boolean } = {}): webpack.Configuration => ({
|
|||
use: [{ loader: 'style-loader' }, { loader: 'css-loader' }],
|
||||
},
|
||||
{
|
||||
test: /\.(png|gif|jpg)$/,
|
||||
loader: 'url-loader',
|
||||
options: { limit: '25000' },
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|eot|svg|woff|woff2)$/,
|
||||
loader: 'url-loader',
|
||||
test: /\.woff2$/,
|
||||
type: 'asset/inline',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -4547,7 +4547,6 @@ __metadata:
|
|||
eslint-plugin-jest: ^25.3.4
|
||||
eslint-plugin-react: ^7.28.0
|
||||
eslint-plugin-react-hooks: ^4.3.0
|
||||
file-loader: ^6.2.0
|
||||
fork-ts-checker-webpack-plugin: ^6.5.0
|
||||
html-loader: ^3.0.1
|
||||
html-webpack-plugin: ^5.5.0
|
||||
|
@ -4576,7 +4575,6 @@ __metadata:
|
|||
ts-node: ^10.4.0
|
||||
tslib: ^2.3.1
|
||||
typescript: ~4.5.4
|
||||
url-loader: ^4.1.1
|
||||
webpack: ^5.65.0
|
||||
webpack-cli: ^4.9.1
|
||||
webpack-dev-server: ^4.7.2
|
||||
|
|
Loading…
Reference in New Issue
Block a user