Giter VIP home page Giter VIP logo

Comments (5)

jimasun avatar jimasun commented on August 18, 2024

Same issue. It seems that whatever I choose to exclude, the only two modules are @module Util and @module Ready.

UPDATE: It works using node bin/custom -- --exclude[/include]=[module/sub, ...] found when downloading the release archive.

from domtastic.

webpro avatar webpro commented on August 18, 2024

Sorry @olsonpm and @jimasun.

The issue is that I've moved modules to folders, and that structure should be followed when including or excluding modules in a custom build. I see @jimasun has found this himself already.

To see the all module names, you can run:

> npm run bundle -- --include=index

Excluded modules: array, baseClass, css, dom/attr, dom/class, dom/contains, dom/data, dom/extra, dom/html, dom/index, event/index, event/ready, event/trigger, noconflict, selector/closest, selector/extra, selector/index, type
Included modules: index, util

So @olsonpm's command should look like this:

npm run bundle -- --include=selector/index,array,event/index

Let me know if things work for you! I'll update the docs shortly.

from domtastic.

olsonpm avatar olsonpm commented on August 18, 2024

I'll give it a go sometime this week. Thanks much for the response

from domtastic.

jimasun avatar jimasun commented on August 18, 2024

Thanks for updating the instructions. I haven't tested it yet, as I am quite satisfied with the node script.

PS. Something happened with the api documentation. It seems that the doc page only shows the BaseClass.

Thanks!

from domtastic.

olsonpm avatar olsonpm commented on August 18, 2024

Tested just now - works great. Much appreciated @webpro

from domtastic.

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.