Giter VIP home page Giter VIP logo

Comments (4)

sokra avatar sokra commented on April 24, 2024

It is possible to compile with only globally installed webpack and a webpackOptions.js file with webpack --options webpackOptions.js entry.js bundle.js. The webpack binary just looks for a locally installed webpack to support different versions in different projects. Additional loaders are installed locally (like grunt plugins).

I think that Aptana Studio blocks while it's indexing files is a issue of Aptana Studio. (They should do it asynchrous 😄 )

I hope for webpack support in Scripted once it's more mature. They're already using enhanced-resolve, the library webpack uses for resolving.

from webpack.

Phoscur avatar Phoscur commented on April 24, 2024
webpack --options webpackOptions.js entry.js bundle.js

Still seems an awful lot to write. How about and options file default and entry and bundle name declaration in that file?

Scripted looks great! They are the first I see doing good inferencing.

from webpack.

sokra avatar sokra commented on April 24, 2024

Like grunt...

I'll consider this for 0.9...

from webpack.

sokra avatar sokra commented on April 24, 2024

webpack now uses webpack.config.js in the current directory. Command line arguments will override/extend the settings.

So you can just run webpack.


I removed all loaders from the webpack dependencies, so webpack is now just the compiler. You have to install all required loaders locally.

from webpack.

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.