empty-loader

2019-06-13 admin

empty-loader是什么

什么是empty-loader,empty loader module for webpack

empty-loader使用教程帮助文档

empty loader for webpack

Usage

For some reason, you don’t want webpack build some specific extensions but may want it to run in node, thus you can use empty-loader.

var s = require.resolve('./something.ext');

// config your webpack config
{
    loader: "empty-loader",
    test: /\.ext$/
}

License

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-67227.html

文章标题:empty-loader

回到顶部