Update Fix
This commit is contained in:
31
node_modules/@react-jvectormap/core/webpack.config.js
generated
vendored
Normal file
31
node_modules/@react-jvectormap/core/webpack.config.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
entry: path.resolve(__dirname, "./src/index.ts"),
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
filename: "index.js",
|
||||
libraryTarget: "umd",
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts", ".tsx", ".js", ".jsx"],
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.tsx?$/,
|
||||
loader: "babel-loader",
|
||||
},
|
||||
{
|
||||
test: /\.s[ac]ss$/i,
|
||||
use: ["style-loader", "css-loader", "sass-loader"],
|
||||
},
|
||||
],
|
||||
},
|
||||
externals: {
|
||||
react: "react",
|
||||
"react-dom": "reactDOM",
|
||||
jquery: "jquery",
|
||||
},
|
||||
plugins: []
|
||||
};
|
||||
Reference in New Issue
Block a user