jsx-vanilla-loader
Advanced tools
Comparing version 0.0.4 to 1.0.0
'use strict'; | ||
const JSXVanilla = require('jsx-vanilla'); | ||
const { preprocess } = require('jsx-vanilla'); | ||
module.exports = (source) => { | ||
return JSXVanilla.preprocess(source); | ||
}; | ||
module.exports = function(source) { | ||
return preprocess(source); | ||
}; |
@@ -7,3 +7,3 @@ { | ||
"dependencies": { | ||
"jsx-vanilla": ">=2.0.5" | ||
"jsx-vanilla": ">=3.0.0" | ||
}, | ||
@@ -23,3 +23,3 @@ "deprecated": false, | ||
"name": "jsx-vanilla-loader", | ||
"version": "0.0.4", | ||
"version": "1.0.0", | ||
"repository": { | ||
@@ -26,0 +26,0 @@ "type": "git", |
@@ -1,2 +0,2 @@ | ||
# JSX Vanilla loader | ||
# Description | ||
@@ -7,3 +7,3 @@ JSX Vanilla loader for webpack | ||
``` | ||
```js | ||
const path = require('path'); | ||
@@ -16,3 +16,3 @@ | ||
main: "./src/main.js" | ||
}, | ||
}, | ||
output: { | ||
@@ -25,3 +25,3 @@ path: path.resolve(__dirname, '../js'), | ||
{ | ||
test : /\.js?/, | ||
test : /\.js$/, | ||
include : path.resolve(__dirname, "src"), | ||
@@ -33,3 +33,3 @@ loader : 'jsx-vanilla-loader' | ||
} | ||
``` |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2270
5
1
Updatedjsx-vanilla@>=3.0.0