Giter Site home page Giter Site logo

Webpack support about unified HOT 5 CLOSED

unifiedjs avatar unifiedjs commented on September 18, 2024
Webpack support

from unified.

Comments (5)

philippkuehn avatar philippkuehn commented on September 18, 2024 1

Ah okay. Maybe that is some information for the documentation? Do you have an example how to use it with webpack? I can't get it to work :/

from unified.

cloverich avatar cloverich commented on September 18, 2024 1

@philippkuehn I'm sure you figured this out by now, but by default webpack adds and bundles Node dependencies when the target is web (the default, see webpack's target documentation).

from unified.

wooorm avatar wooorm commented on September 18, 2024

Yes, it should work, but it looks like the tool you use to build JavaScript (webpack? rollup? browserify) is not configured to include native node modules. This really depends on the tool you’re using, so you’ll probably fare best by checking with them!

from unified.

DrewHoo avatar DrewHoo commented on September 18, 2024

I'm hitting this issue, too while serving an Angular app (I'm on Angular 7). I'm using angular-cli to serve the app, which is using webpack, but which (maybe?) isn't supplying these node libraries. Would love to be able to use this, definitely think it could use some documentation for getting it to run in a browser.

from unified.

ChristianMurphy avatar ChristianMurphy commented on September 18, 2024

Folks, for questions with browser usage please use Spectrum.
https://spectrum.chat/unified

from unified.

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.