Skip to content

Commit

Permalink
Merge pull request #1 from modernweb-dev/init
Browse files Browse the repository at this point in the history
Move package from `modernweb-dev/web` monorepo
  • Loading branch information
koddsson authored Jan 11, 2024
2 parents 04276d3 + f10886e commit 83c86fc
Show file tree
Hide file tree
Showing 33 changed files with 5,964 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
135 changes: 135 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# @web/rollup-plugin-polyfills-loader

## 2.1.1

### Patch Changes

- 1c0088de: Update Rollup to version 4.

## 2.1.0

### Minor Changes

- c185cbaa: Set minimum node version to 18

### Patch Changes

- Updated dependencies [c185cbaa]
- @web/polyfills-loader@2.2.0

## 2.0.1

### Patch Changes

- f6ba53f0: Export types with package

## 2.0.0

### Major Changes

- febd9d9d: Set node 16 as the minimum version.
- 72c63bc5: Require Rollup@v3.x and update all Rollup related dependencies to latest.

### Patch Changes

- Updated dependencies [febd9d9d]
- @web/polyfills-loader@2.0.0

## 1.3.1

### Patch Changes

- e9508a24: fix: support node 17 & 18 by using md5 hashing
- Updated dependencies [e9508a24]
- @web/polyfills-loader@1.3.4

## 1.3.0

### Minor Changes

- 03f1481c: Add option to externalize polyfills loader script

### Patch Changes

- Updated dependencies [03f1481c]
- @web/polyfills-loader@1.3.0

## 1.2.0

### Minor Changes

- ea4ccb03: use modulepreload-shim for es-module-shims

## 1.1.1

### Patch Changes

- e40335a4: Update main entrypoint to point to dist

## 1.1.0

### Minor Changes

- 205bf88f: Retain script attributes

### Patch Changes

- Updated dependencies [0892bddd]
- @web/polyfills-loader@1.1.0

## 1.0.7

### Patch Changes

- f2733bb5: allow changing filetype for only modern output

## 1.0.6

### Patch Changes

- 338f22b6: Inject the polyfills loader also when only using regeneratorRuntime with 'always' value.

## 1.0.5

### Patch Changes

- 2c616b84: fix pathToRoot

## 1.0.4

### Patch Changes

- ac379b48: fix(rollup-plugin-polyfills-loader): fix relative paths to polyfills with `flattenOutput: false`
- Updated dependencies [ac379b48]
- @web/polyfills-loader@1.0.2

## 1.0.3

### Patch Changes

- 2006211: update minimum systemjs version
- Updated dependencies [2006211]
- @web/polyfills-loader@1.0.1

## 1.0.2

### Patch Changes

- 9680970: Add missing files to the npm artifact

## 1.0.1

### Patch Changes

- da360bc: correctly preload non-module entrypoints

## 1.0.0

### Major Changes

- 8a48245: Initial implementation

### Patch Changes

- Updated dependencies [369308b]
- @web/polyfills-loader@1.0.0
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# package-template
A template for Modern Web packages
# Rollup Plugin Polyfills Loader

Rollup plugin for injecting a [Polyfills Loader](https://modern-web.dev/docs/building/polyfills-loader/) into a HTML file generated by `@web/rollup-plugin-html`

See [our website](https://modern-web.dev/docs/building/rollup-plugin-polyfills-loader/) for full documentation.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// this file is autogenerated with the generate-mjs-dts-entrypoints script
export * from './dist/index.js';
6 changes: 6 additions & 0 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// this file is autogenerated with the generate-mjs-dts-entrypoints script
import cjsEntrypoint from './dist/index.js';

const { polyfillsLoader } = cjsEntrypoint;

export { polyfillsLoader };
Loading

0 comments on commit 83c86fc

Please sign in to comment.