Giter Club home page Giter Club logo

Comments (8)

xz64 avatar xz64 commented on July 20, 2024

I will need to make some assumptions to implement this:

  1. node_modules will exist
  2. devDependencies will be stored in node_modules

Let me know if these assumptions hold for your project.

from license-webpack-plugin.

gregorym avatar gregorym commented on July 20, 2024

I am working on a PR. I'll send it later this week.

from license-webpack-plugin.

gregorym avatar gregorym commented on July 20, 2024

After looking at your code I would need to do the following:

  • moduleDirectory needs to be a plugin option that would default to node_modules
  • buildRoot needs to be a plugin option as well. Defaults to findBuildRoot when undefined

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

Sounds good

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

@gregorym I have implemented this on the dev branch. Can you try it out on your project and let me know if it works out for you?

Steps to install:

  1. Clone this repo
  2. checkout the dev branch
  3. run npm install && npm run build && npm pack
  4. In your project directory, run npm install /path/to/license-webpack-plugin-1.1.2.tgz file

from license-webpack-plugin.

gregorym avatar gregorym commented on July 20, 2024

Thanks @xz64. I will try next week :)

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

@gregorym Did you get a chance to test it out?

from license-webpack-plugin.

xz64 avatar xz64 commented on July 20, 2024

Added feature in v1.2.0

Let me know if you run into any issues.

from license-webpack-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.