Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use microbundle instead of Webpack #312

Merged
merged 10 commits into from
Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
* text=auto

/tests export-ignore
ziggy-banner.png export-ignore
CONTRIBUTING.md export-ignore
.babelrc export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.github export-ignore
.gitignore export-ignore
CONTRIBUTING.md export-ignore
phpunit.xml.dist export-ignore
webpack.config.js export-ignore
ziggy-banner.png export-ignore
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Breaking changes are marked with ⚠️.
- Remove the `getRoutePayload()` methods on the `BladeRouteGenerator` and `CommandRouteGenerator` classes
- ⚠️ Rename all `whitelist` and `blacklist` functionality to `only` and `except` ([#300](/~https://github.com/tightenco/ziggy/pull/300))
- Use Jest instead of Mocha for JS tests ([#309](/~https://github.com/tightenco/ziggy/pull/309))
- Use [microbundle](/~https://github.com/developit/microbundle) instead of Webpack to build and distribute Ziggy ([#312](/~https://github.com/tightenco/ziggy/pull/312))

**Removed**

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Ziggy creates a Blade directive that you can include in your views. It will expo

Ziggy supports all versions of Laravel from `5.4` to `7.x`.

## Contents

> **Note**: you are viewing the `develop` branch, which is under active development. Not all of the features and changes in this documentation have been released. [Docs for the latest Ziggy release, `v0.9.4`, are in the Readme on the `0.9.x` branch](/~https://github.com/tightenco/ziggy/tree/0.9.x).

## Contents

- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
Expand Down
10 changes: 2 additions & 8 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: 'defaults, not IE 11',
modules: false,
forceAllTransforms: true,
},
],
['@babel/preset-env', { targets: 'defaults, not IE 11' }],
],
plugins: ['@babel/plugin-proposal-optional-chaining'],
env: {
test: {
presets: ['power-assert'],
Expand Down
Loading