Skip to content

Commit

Permalink
Add banner to bundle.js, v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Jan 10, 2021
1 parent 2aa5609 commit 1cdcf25
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Install

```html
<script src="https://cdn.jsdelivr.net/gh/fliegwerk/[email protected].0/dist/bundle.js" />
<script src="https://cdn.jsdelivr.net/gh/fliegwerk/[email protected].1/dist/bundle.js" />
</script>
```

Expand Down
2 changes: 1 addition & 1 deletion dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "search-popup",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {
"build": "webpack",
"start": "webpack --watch"
Expand Down
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const webpack = require('webpack');
const TerserPlugin = require("terser-webpack-plugin");
const WebpackLicensePlugin = require("webpack-license-plugin");

Expand All @@ -20,7 +21,8 @@ module.exports = {
plugins: [
new WebpackLicensePlugin({
licenseOverrides: {'[email protected]': 'BSD-3-Clause'}
})
}),
new webpack.BannerPlugin({banner: "See oss-licenses.json for licenses of open-source projects used here."})
],
devtool: 'source-map',
module: {
Expand Down

0 comments on commit 1cdcf25

Please sign in to comment.