Skip to content
#

webpack2

webpack logo

Webpack is a bundler that takes modules with dependencies and creates static assets. It is designed to simplify and enhance the development and user experience.

Here are 1,693 public repositories matching this topic...

mystorp
mystorp commented Jul 31, 2019

使用 Mock mock 数据的时候,需要硬编码数据到代码里面

使用 easy-mock 需要外网访问

使用 http-mock-middleware 仅仅需要新增如下 devServer.after 的配置项,就可以很方便的管理假数据,也方便开发者任意的修改假数据,而不需要提交:

const httpMockMiddleware = require("hm-middleware");

module.exports = {
    devServer: {
        after: function(app, server){
            app.use(httpMockMiddleware({
      
edmorley
edmorley commented Jan 28, 2020

Split out of #225...


I was wondering about drastically simplifying the .merge() section of the docs, so that instead of being a copy-paste of every webpack config option, it only listed the areas where the data structure differed from the real webpack config schema (plus perhaps a few examples from the options that were identical).

ie:

  // Differences from webpack config
jormal
jormal commented Apr 23, 2019

This is a Bug Report

Description

For bug reports:

  • What went wrong?
    When I was using only one package, web3 could be bundled successfully.
    But, I needed to restruct my project to using yarn workspace. So, I only restructed (not code edited) my project and I came across some bundling errors.
(skip warning)

ERROR in D:/Users/jormal/WebstormProjects/TX_COLLECTOR/tx-collector/n
malinushj
malinushj commented Mar 17, 2018

This could be useful for contributors to test any changes (manually for now) inside the repo, not having to use an external environment.
This folder should be in .npmignore.

Automated testing I think is out of the scope of this project since it's more of a wrapper plugin for Browsersync.
Perhaps some unit tests for the css emissions check?

Created by Tobias Koppers, Sean Larkin, Johannes Ewald, Juho Vepsäläinen, Kees Kluskens

Released March 10, 2012

Organization
webpack
Website
webpack.js.org
Wikipedia
Wikipedia
You can’t perform that action at this time.