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

Update WP4 Version with Legacy Features/Tooling #247

Open
10 of 20 tasks
bignamehere opened this issue May 30, 2018 · 7 comments
Open
10 of 20 tasks

Update WP4 Version with Legacy Features/Tooling #247

bignamehere opened this issue May 30, 2018 · 7 comments

Comments

@bignamehere
Copy link
Contributor

bignamehere commented May 30, 2018

If you do not have Webpack 4 installed, follow these instructions.

Below is a list of features to verify and/or include in the WP4 version of the FSA Style codebase.

  • clean

  • copy (primarily to bring in USWDS assets).

  • watch

  • browsersync

  • prettify (html)

  • style-loader / css-loader

  • SCSS source map

  • stylelint

  • min (i.e. fsa-style.css and fsa-style.min.css)

  • postcss (and associated plugins)

    • autoprefixer
    • pixrem
    • postcss-quantity-queries
  • usebanner (currently used for version comment line of fsa-style.[min].css)

  • Compress to published ZIP

  • What else excites us?

    • prettier, possibly in place of prettify
    • CSS Next (unlikely, but worth exploring)
    • hot-module-replacement. Not exactly a "live-reload" (or browsersync) analog, but still interesting
    • Basic "includes" to piece together Kitchen Sink (index.html) listing (future: templating etc)
@bignamehere
Copy link
Contributor Author

Updated and verified if Autoprefixer was working correctly. (see b511588)

@bignamehere
Copy link
Contributor Author

Need to implement BrowserSync... here is the link to the repo

https://github.com/Va1/browser-sync-webpack-plugin

bignamehere added a commit that referenced this issue Jun 13, 2018
@bignamehere
Copy link
Contributor Author

@bignamehere
Copy link
Contributor Author

FSA Prototype Kit implements a feature to enable pixrem for legacy browsers.

@bignamehere bignamehere reopened this Mar 5, 2019
@francisrupert francisrupert added P2 and removed P1 labels Mar 15, 2019
@bignamehere
Copy link
Contributor Author

In theory, you could use the Webpack configuration that ProtoKit uses to recreate.

@bignamehere bignamehere removed their assignment Dec 31, 2019
@whatnextjamie
Copy link
Contributor

@bignamehere close this one too?

@bignamehere
Copy link
Contributor Author

@whatnextjamie actually keep this one open, as it has the list of “requirements” that we should try to adhere to for a build system.

@bignamehere bignamehere added P4 and removed P2 labels Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants