bootstrap5-p1
Version:
A custom GrapesJS plugin for Bootstrap 5.1.3.
29 lines (27 loc) • 494 B
JavaScript
const path = require("path");
const webpack = require("webpack");
module.exports = {
entry: "/index.js",
output: {
filename: "index.js",
path: path.resolve(__dirname, "dist"),
libraryTarget: "umd",
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader",
},
},
],
},
plugins: [
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
}),
],
};