Permalink
sokra
improve typings and test them in CI
6178aea
Apr 21, 2020
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Find file
Copy path
webpack/test/configCases/plugins/banner-plugin-hashing/webpack.config.js /
Find file
Copy path
| "use strict"; | |
| const webpack = require("../../../../"); | |
| /** @type {import("../../../../").Configuration} */ | |
| module.exports = { | |
| node: { | |
| __dirname: false, | |
| __filename: false | |
| }, | |
| entry: { | |
| "dist/banner": ["./index.js"], | |
| vendors: ["./vendors.js"] | |
| }, | |
| output: { | |
| filename: "[name].js?value" | |
| }, | |
| plugins: [ | |
| new webpack.BannerPlugin({ | |
| banner: | |
| "fullhash:[fullhash], chunkhash:[chunkhash], name:[name], base:[base], query:[query], file:[file], path:[path], ext:[ext]" | |
| }) | |
| ] | |
| }; |