UNPKG

generator-upendodnn

Version:

Scaffolds DNN extensions, including Modules (Webforms, SPA, and MVC), Persona Bar, Skin Object, Library, Scheduler, and Hotcakes Commerce projects (based on the generator built by Matt Rutledge).

25 lines 714 B
/* eslint-disable no-undef */ const CopyPlugin = require("copy-webpack-plugin"); const HtmlWebpackPlugin = require('html-webpack-plugin'); const path = require('path'); module.exports = { plugins: [ new CopyPlugin({ patterns: [ { from: "./src/Resources", to: "Resources" } ], }), new HtmlWebpackPlugin({ inject: false, environment: process.env.NODE_ENV, template: path.resolve("./src/View.html"), filename: "View.html" }), new HtmlWebpackPlugin({ inject: false, environment: process.env.NODE_ENV, template: path.resolve("./src/Settings.html"), filename: "Settings.html" }) ], };