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: enforce module scope plugin #12

Merged
merged 4 commits into from
Jan 29, 2022
Merged

Commits on Jan 20, 2022

  1. feat: add ModuleScopePlugin

    Requiring this will require routes and hosts to only
    import from things in their source tree and node_modules
    This will force end users to have to create shared
    node_modules packages with rules_nodejs instead of
    doing a relative path import.
    
    This both enforces the DAG in bazel, and enforces clean
    boundaries between routes
    Aghassi committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    ac89822 View commit details
    Browse the repository at this point in the history
  2. chore: expose the exec path to webpack plugin

    Aghassi committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    c4c1273 View commit details
    Browse the repository at this point in the history
  3. refactor: add src/ folder to execpath

    Aghassi committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    16c6ce1 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. refactor: ensure the plugin is in the resolve part of webpack config

    This also gets the path used for the files being passed into src
    properly using path.dirname
    Aghassi committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    9431b13 View commit details
    Browse the repository at this point in the history