Skip to content

Commit

Permalink
fix bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed Jan 16, 2023
1 parent 1522fae commit 03258e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bundled/lenis.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global["'Lenis'"] = factory());
(global = global || self, global.Lenis = factory());
})(this, (function () {
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion bundled/lenis.min.js

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": "git+https://github.com/studio-freight/lenis.git"
},
"scripts": {
"dev": "microbundle watch -i src/lenis.js --format umd --compress --no-sourcemap --no-pkg-main --external none --output ./bundled --name 'Lenis' & npm run dev:website",
"dev": "microbundle watch -i src/lenis.js --format umd --compress --no-sourcemap --no-pkg-main --external none --output ./bundled --name Lenis & npm run dev:website",
"dev:website": "npm run dev:website --prefix ./website",
"size": "size-limit",
"clean": "rimraf dist && rimraf bundled",
Expand All @@ -55,8 +55,8 @@
"build:types": "tsc --allowJs -d --emitDeclarationOnly --declarationDir ./dist/types --removeComments ./src/index.js",
"build:dist": "microbundle build -i src/ --o ./dist",
"build:bundle": "npm-run-all build:bundle-full build:bundle-min",
"build:bundle-full": "microbundle build -i src/ --o ./bundled/lenis.js --no-sourcemap --no-pkg-main --external none --name 'Lenis' --format umd --no-compress",
"build:bundle-min": "microbundle build -i src/ --o ./bundled/lenis.min.js --no-sourcemap --no-pkg-main --external none --name 'Lenis' --format umd"
"build:bundle-full": "microbundle build -i src/ --o ./bundled/lenis.js --no-sourcemap --no-pkg-main --external none --name Lenis --format umd --no-compress",
"build:bundle-min": "microbundle build -i src/ --o ./bundled/lenis.min.js --no-sourcemap --no-pkg-main --external none --name Lenis --format umd"
},
"bugs": {
"url": "https://github.com/studio-freight/lenis/issues"
Expand Down

1 comment on commit 03258e4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"⚡️ Lighthouse report for the changes in this commit:

🟠 Performance: 72
🟢 Accessibility: 100
🟢 Best practices: 100
🟢 SEO: 92
🟠 PWA: 70

Lighthouse ran on https://vercel.com/login?next=%2Fdeployments%2Flenis-r7r7gyn1r-studio-freight.vercel.app%3Fhost%3Dlenis-r7r7gyn1r-studio-freight.vercel.app%26redirect%3D1%26section%3D"

Please sign in to comment.