mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Bump babel-plugin-tester and fix breaking changes (#8171)
This commit is contained in:
committed by
GitHub
parent
18e56da3b7
commit
88a543549b
@@ -1,7 +1,7 @@
|
||||
const pluginTester = require('babel-plugin-tester');
|
||||
const pluginTester = require('babel-plugin-tester/pure');
|
||||
const namedAssetImport = require('./index');
|
||||
|
||||
pluginTester({
|
||||
pluginTester.default({
|
||||
plugin: namedAssetImport,
|
||||
pluginOptions: {
|
||||
loaderMap: {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"@babel/core": "^7.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-plugin-tester": "^7.0.1",
|
||||
"babel-plugin-tester": "^8.0.1",
|
||||
"jest": "24.9.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user