Skip to content

Commit

Permalink
Add popperjs
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 13, 2022
1 parent 7c4d83e commit 02b6116
Show file tree
Hide file tree
Showing 284 changed files with 17,438 additions and 0 deletions.
12 changes: 12 additions & 0 deletions popperjs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
```toml
[[module.imports]]
path="github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2"
```

With that you can import it in your JS like this:

```js
import * as Popper from "@popperjs/core";
```

Note that this module was originally added for https://github.com/gohugoio/hugo-mod-bootstrap-scss
4 changes: 4 additions & 0 deletions popperjs/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[module]
[[module.mounts]]
source = "package/dist/cjs/popper.js"
target = "assets/@popperjs/core.js"
3 changes: 3 additions & 0 deletions popperjs/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2

go 1.17
9 changes: 9 additions & 0 deletions popperjs/npmpackage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@popperjs/core",
"version": "2.11.0",
"dependencies": null,
"dist": {
"shasum": "6734f8ebc106a0860dff7f92bf90df193f0935d7",
"tarball": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.0.tgz"
}
}
20 changes: 20 additions & 0 deletions popperjs/package/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2019 Federico Zivolo

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 02b6116

Please sign in to comment.