esbuild-loader
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "esbuild-loader", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "author": "EGOIST", |
@@ -25,3 +25,7 @@ # esbuild-loader | ||
options: { | ||
// All options are optional | ||
target: 'es2015', // default, or 'es20XX', 'esnext' | ||
jsxFactory: 'React.createElement', | ||
jsxFragment: 'React.Fragment', | ||
sourceMap: false // Enable sourcemap | ||
}, | ||
@@ -28,0 +32,0 @@ }, |
@@ -32,2 +32,5 @@ const path = require('path') | ||
loader: ext.slice(1), | ||
jsxFactory: options.jsxFactory, | ||
jsxFragment: options.jsxFragment, | ||
sourcemap: options.sourceMap | ||
}) | ||
@@ -34,0 +37,0 @@ done(null, result.js, result.jsSourceMap) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4060
61
41