@wethegit/react-hooks
Advanced tools
Comparing version 0.0.4-beta.5 to 0.0.4-beta.6
{ | ||
"name": "@wethegit/react-hooks", | ||
"version": "0.0.4-beta.5", | ||
"version": "0.0.4-beta.6", | ||
"description": "A collection of helpers for use in React projects.", | ||
@@ -27,2 +27,3 @@ "main": "dist/main.mjs", | ||
"devDependencies": { | ||
"@babel/plugin-transform-modules-commonjs": "^7.20.11", | ||
"@babel/core": "~7.19.0", | ||
@@ -29,0 +30,0 @@ "@babel/preset-env": "~7.19.0", |
const path = require("path") | ||
const webpack = require("webpack") | ||
@@ -13,3 +14,7 @@ module.exports = { | ||
options: { | ||
presets: ["@babel/preset-env", "@babel/preset-react"], | ||
presets: [ | ||
"@babel/preset-env", | ||
["@babel/preset-react", { runtime: "automatic" }], | ||
], | ||
plugins: ["@babel/plugin-transform-modules-commonjs"] | ||
}, | ||
@@ -40,2 +45,7 @@ }, | ||
}, | ||
plugins: [ | ||
new webpack.ProvidePlugin({ | ||
"React": "react", | ||
}), | ||
], | ||
output: { | ||
@@ -42,0 +52,0 @@ filename: "main.mjs", |
Sorry, the diff of this file is not supported yet
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
12219
6
57
10