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

feat: add JS processing (resolves #28) #31

Merged
merged 16 commits into from
Oct 14, 2020
Merged

feat: add JS processing (resolves #28) #31

merged 16 commits into from
Oct 14, 2020

Conversation

greatislander
Copy link
Contributor

This PR takes an alternative approach to #28 based on http://github.com/clenemt/eleventy-webpack, necessitated by the fact that fluidic-11ty has two JavaScript entry files. This configuration allows any number of JavaScript entry files to be processed with Webpack and Babel, and triggers live reloads of Eleventy when in dev mode by updating a Nunjucks template partial which includes hashed links to the generated JavaScript output files.

@greatislander greatislander added the enhancement New feature or request label Sep 29, 2020
@greatislander greatislander added this to the 0.1.0 milestone Sep 29, 2020
@greatislander greatislander added this to In progress in 1.0.0 via automation Sep 29, 2020
@greatislander greatislander self-assigned this Sep 29, 2020
.babelrc.js Outdated Show resolved Hide resolved
src/assets/scripts/uio.js Outdated Show resolved Hide resolved
webpack.html Outdated Show resolved Hide resolved
webpack.prod.js Outdated Show resolved Hide resolved
@jobara
Copy link
Member

jobara commented Sep 30, 2020

@greatislander it looks like the standard eslint-config-fluid is being used, but I see that some of the JS files have at least some instances that appear to be using 2 spaces instead of 4. Does this pass linting and/or is it configured properly?

package.json Outdated Show resolved Hide resolved
src/assets/scripts/uio.js Outdated Show resolved Hide resolved
@jobara jobara merged commit f5ec52e into fluid-project:master Oct 14, 2020
1.0.0 automation moved this from In progress to Done Oct 14, 2020
@jobara
Copy link
Member

jobara commented Oct 14, 2020

merged at f5ec52e

@greatislander greatislander deleted the js-processing branch October 14, 2020 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
1.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants