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

11tyDevServer and Rollup Build #1657

Merged
merged 1 commit into from
May 30, 2020
Merged

11tyDevServer and Rollup Build #1657

merged 1 commit into from
May 30, 2020

Conversation

daKmoR
Copy link
Member

@daKmoR daKmoR commented May 19, 2020

  • have a "start cli" which runs es-dev-server and executes 11ty on the demand
  • have a "build cli" which runs 11ty and "pipes" the output into rollup

you can test it with

yarn docs:start
yarn docs:build

Open Todos:

  • createMpaConfig is now basically the same as createSpaConfig 🤔 => still needs to move into @open-wc/building-rollup

Optionally for later: (team rocket 😬)

  • caching in "start-cli" which get's fully invalidated on any file change
  • how to handle configurations (separate config files? one config file? how to merge? how to provide, ...)

@daKmoR daKmoR force-pushed the chore/11tyDevServer branch 3 times, most recently from 437f7e5 to badaadf Compare May 23, 2020 13:01
@daKmoR daKmoR force-pushed the chore/11tyDevServer branch 2 times, most recently from fcfb1d9 to 7b558e4 Compare May 28, 2020 21:36
@daKmoR daKmoR changed the title POC: 11ty, mdjs, dev-server, rollup cli 11tyDevServer and Rollup Build May 28, 2020
@daKmoR daKmoR marked this pull request as ready for review May 29, 2020 16:12
@daKmoR daKmoR force-pushed the chore/11tyDevServer branch 4 times, most recently from 17c0ccf to 22d8f36 Compare May 29, 2020 16:31
@Westbrook
Copy link
Contributor

Do we have an issue submitted to 11ty about that patch we're making here? Or is this something they're already planning to do? Want to make sure we've started the conversation of getting the patch here removed from our project at some point.

@daKmoR
Copy link
Member Author

daKmoR commented May 29, 2020

jup it's here
11ty/eleventy#789

@daKmoR daKmoR force-pushed the chore/11tyDevServer branch from 22d8f36 to 79d63fa Compare May 30, 2020 08:09
@daKmoR daKmoR merged commit 9269b3e into master May 30, 2020
@daKmoR daKmoR deleted the chore/11tyDevServer branch May 30, 2020 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants