Giter Site home page Giter Site logo

matchdav / requirejs-to-webpack-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from umamialex/requirejs-to-webpack-cli

0.0 1.0 0.0 140 KB

Translates RequireJS build configs to their webpack counterpart.

License: MIT License

JavaScript 100.00%

requirejs-to-webpack-cli's Introduction

requirejs-to-webpack-cli

Build Status npm version Dependencies

CLI utility for converting RequireJS configuration JSON to a webpack configuration module.

Installation

npm install -g requirejs-to-webpack-cli

Usage

# Default output is ./webpack.config.js
requirejs-to-webpack-cli <input> [output]

# Aliases
requirejs-to-webpack <input> [output]
r2w <input> [output]

# Example:
r2w build.config

Thanks

Lots of thanks to Jamund Ferguson for his write up on how to convert to webpack from RequireJS. This tool aims to automate many of the steps outlined in that guide.

Contribute

There is definitely much more that can be done to automate the configuration conversion. If you have any experience in RequireJS and webpack, please feel free to make a pull request!

License

Copyright (c) 2015 Alexander Martin

MIT (http://www.opensource.org/licenses/mit-license.php)

requirejs-to-webpack-cli's People

Contributors

matchdav avatar umamialex avatar

Watchers

 avatar

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.