@klaxit/cookie-consent
Version:
A simple dialog to handle cookie consent and comply with data privacy laws. Fully compliant with European GDPR & California CCPA.
19 lines (14 loc) • 390 B
JavaScript
const path = require( "path" )
const common = require( "./webpack.config.js" )
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
module.exports = Object.assign({}, common, {
mode: "production",
output: {
path: path.resolve(__dirname, "dist"),
filename: "cookie-consent.js",
},
plugins: [
new CleanWebpackPlugin(),
],
})