CodeMirror vs Webpack

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

CodeMirror
CodeMirror

197
59
+ 1
7
Webpack
Webpack

11K
7.3K
+ 1
741
Add tool

CodeMirror vs Webpack: What are the differences?

What is CodeMirror? In-browser code editor used in the dev tools for both Firefox and Chrome, Light Table, Adobe Brackets, Bitbucket, and many other projects. CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.

What is Webpack? A bundler for javascript and friends. A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

CodeMirror and Webpack are primarily classified as "Text Editor" and "JS Build Tools / JS Task Runners" tools respectively.

"Integrable in your application" is the top reason why over 3 developers like CodeMirror, while over 307 developers mention "Most powerful bundler" as the leading cause for choosing Webpack.

CodeMirror and Webpack are both open source tools. It seems that Webpack with 49.5K GitHub stars and 6.22K forks on GitHub has more adoption than CodeMirror with 17.8K GitHub stars and 3.91K GitHub forks.

According to the StackShare community, Webpack has a broader approval, being mentioned in 2181 company stacks & 1297 developers stacks; compared to CodeMirror, which is listed in 24 company stacks and 11 developer stacks.

What is CodeMirror?

CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the language you are coding in, it will color your code, and optionally help with indentation.

What is Webpack?

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose CodeMirror?
Why do developers choose Webpack?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    Jobs that mention CodeMirror and Webpack as a desired skillset
    What companies use CodeMirror?
    What companies use Webpack?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with CodeMirror?
    What tools integrate with Webpack?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to CodeMirror and Webpack?
    Ace
    Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the features, usability and performance of existing native editors such as TextMate, Vim or Eclipse. It can be easily embedded in any web page or JavaScript application.
    TinyMCE
    It is the most advanced WYSWIYG HTML editor designed to simplify website content creation. The rich text editing platform that helped launch Atlassian, Medium, Evernote, and more.
    Visual Studio Code
    Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
    Sublime Text
    Sublime Text is available for OS X, Windows and Linux. One license is all you need to use Sublime Text on every computer you own, no matter what operating system it uses. Sublime Text uses a custom UI toolkit, optimized for speed and beauty, while taking advantage of native functionality on each platform.
    Vim
    Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is distributed free as charityware.
    See all alternatives
    Decisions about CodeMirror and Webpack
    Webpack
    Webpack
    gulp
    gulp
    jQuery
    jQuery
    JavaScript
    JavaScript

    I use JavaScript these days and for few years I didn't have to use jQuery at all. I used to use it back in the days when IE8 and similar was a thing. But due to better browser support of native functions for DOM manipulation I could move to vanilla JavaScript. Most of the time, that's all I need to work with modals/accordions and similar. But I'm not saying that jQuery is bad. It was, and still is a great tool. Some of it's features are available in all browsers nowadays so it is not so important as it used to be. But jQuery has still advantage for example in it's selector engine, some DOM selections which are easy in jQuery are a bit more difficult in vanilla JS (you have to create some helper functions or use some 3rd party library to help you with that), but to be honest I needed this on very few occasions. So it really depends on your project (supported browses, plain JS or some bundling - gulp, Webpack, whether you plan to use modules etc.). Hope this helps.

    See more
    Gustavo Muñoz
    Gustavo Muñoz
    Web UI Developer at Globant · | 4 upvotes · 10K views
    Parcel
    Parcel
    gulp
    gulp
    Grunt
    Grunt
    Webpack
    Webpack
    #WebPackDevServer
    #Merge

    Using Webpack is one of the best decision ever. I have used to Grunt and gulp previously, but the experience is not the same, and despite I know there are other bundlers like Parcel, Webpack gives me the perfect balance between automatization and configuration. The ecosystem of tools and loaders is amazing, and with WebPack #merge, you can modularize your build and define standard pieces to assemble different build configurations. I don't like processes where you cannot see their guts, and you have to trust in magic a little bit too much for my taste. But also I don't want to reinvent the wheel and lose too much time configuring my build processes. And of course, I love #WebPackDevServer and hot reloading.

    See more
    Interest over time
    Reviews of CodeMirror and Webpack
    No reviews found
    How developers use CodeMirror and Webpack
    Avatar of Volkan Özçelik
    Volkan Özçelik uses WebpackWebpack

    Webpack is the best bundler. Period.

    Yes, it has a(n arguably) messy documentation, and a steep learning curve; but once you get the hang of it, there is nothing you cannot do with it.

    Use it and you don’t have to use any other bundler at all.

    It has a vivid ecosystem, and great plugin support.

    Avatar of Alec Cunningham
    Alec Cunningham uses WebpackWebpack

    My preferred build tool; allows me to bundle my JSX, JS, CSS files for easy access and I can pass the bundle through my node server for server side rendering.

    Avatar of Kent Steiner
    Kent Steiner uses WebpackWebpack

    Flexible building and compiling of source for browser consumption, mainly for JS, but experimenting a little with CSS (although I prefer StylusJS for CSS).

    Avatar of Andrew Gatenby
    Andrew Gatenby uses WebpackWebpack

    We use this to optimise the delivery of the client-side for our revised Admin System, so it's able to be delivered to browsers as efficiently as possible.

    Avatar of Cameron Drake
    Cameron Drake uses WebpackWebpack

    Webpack compiles files to bundles with source maps. Using Webpack you can use the latest features (ES6) and have it compiled to compliant js.

    Avatar of Postverta Inc.
    Postverta Inc. uses CodeMirrorCodeMirror

    It is the basis of our in-browser editor. Highly customizable with an extensive set of plugins.

    How much does CodeMirror cost?
    How much does Webpack cost?
    Pricing unavailable
    Pricing unavailable
    News about CodeMirror
    More news