remove react from transform options
This commit is contained in:
parent
ad9dde6fb6
commit
77b5949a81
@ -19,7 +19,7 @@ gulp-browser is meant to be easy:
|
|||||||
let transforms = [
|
let transforms = [
|
||||||
{
|
{
|
||||||
transform: "babelify",
|
transform: "babelify",
|
||||||
options: {presets: ["es2015", "react"]}
|
options: {presets: ["es2015"]}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -45,7 +45,7 @@ describe("gulpBrowser", function () {
|
|||||||
let transforms = [
|
let transforms = [
|
||||||
{
|
{
|
||||||
transform: "babelify",
|
transform: "babelify",
|
||||||
options: {presets: ["es2015", "react"]}
|
options: {presets: ["es2015"]}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
let stream = plugins.gulp.src('./test/testBrowserifyNormal.js')
|
let stream = plugins.gulp.src('./test/testBrowserifyNormal.js')
|
||||||
|
Loading…
Reference in New Issue
Block a user