cfware / babel-plugin-bundled-import-meta Goto Github PK
View Code? Open in Web Editor NEWBabel plugin to rewrite import.meta for bundled usage
License: BSD 3-Clause "New" or "Revised" License
Babel plugin to rewrite import.meta for bundled usage
License: BSD 3-Clause "New" or "Revised" License
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
devDependency
@babel/core was updated from 7.8.7
to 7.9.0
.dependency
@babel/plugin-syntax-import-meta was updated from 7.8.0
to 7.8.3
.dependency
@babel/template was updated from 7.8.3
to 7.8.6
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
1.25.2
to 1.26.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
2019-10-27
The new version differs by 5 commits.
53fb6fe
1.26.0
1fad958
Update changelog
1e1a111
Add support for "export * as name from β¦" (#3193)
2f7e064
Remove the need to provide an output name for IIFE bundles (#3181)
b4c8b43
[feat] Adds support for large assets (> 100 MB) (#3194)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
devDependency
@babel/core was updated from 7.8.7
to 7.9.0
.dependency
@babel/plugin-syntax-import-meta was updated from 7.8.0
to 7.8.3
.dependency
@babel/template was updated from 7.8.3
to 7.8.6
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
I am using this plugin as part of open-wc/open-wc#251
We want to load es modules on all browsers with support, and load a polyfill for dynamic imports.
I configured this plugin with import style iife
which makes it work also on browsers without import.meta.url
support, but it produces the following output:
const importMeta = {
url: new URL('./demo/meta-url-test.js', typeof document !== 'undefined' ? document.currentScript && document.currentScript.src || document.baseURI : new (typeof URL !== 'undefined' ? URL : require('ur' + 'l').URL)('file:' + __filename).href).href
};
I think this can be simplified as just:
const importMeta = {
url: new URL('./demo/meta-url-test.js', document.baseURI).href
};
This allows us to effectively polyfill import.meta.url
. Do you think this is something that could be added?
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
devDependency
@babel/core was updated from 7.8.7
to 7.9.0
.dependency
@babel/plugin-syntax-import-meta was updated from 7.8.0
to 7.8.3
.dependency
@babel/template was updated from 7.8.3
to 7.8.6
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
βοΈ Important announcement: Greenkeeper will be saying goodbye π and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io
devDependency
@babel/core was updated from 7.8.7
to 7.9.0
.dependency
@babel/plugin-syntax-import-meta was updated from 7.8.0
to 7.8.3
.dependency
@babel/template was updated from 7.8.3
to 7.8.6
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.