@klaxit/cookie-consent
Version:
A simple dialog to handle cookie consent and comply with data privacy laws. Fully compliant with European GDPR & California CCPA.
32 lines (27 loc) • 702 B
JavaScript
const path = require( "path" )
const config = {
entry: path.resolve(__dirname, "src", "index.js"),
target: ["web", "es5"],
module: {
rules: [
{
test: /\.js?$/,
loader: "babel-loader",
options: {
root: __dirname
},
exclude: /node_modules/,
},
{
test: /\.scss?$/,
use : [
"style-loader", // creates style nodes from JS strings
"css-loader", // translates CSS into CommonJS
"sass-loader", // compiles Sass to CSS, using Node Sass by default
]
}
],
}
}
module.exports = config