Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including res-url-loader with all npm packages installed. Try it out:

var resUrlLoader = require("res-url-loader")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

res-url-loader v1.1.4

Webpack 环境下的静态资源文件加载器。 得益于 [file-loader]()的构建思路,允许被引用文件base64进引用文件内,保留 webpack publicPath 生成逻辑,同时解决 url-loader 显式指定[path]和[context]无法正确解析引用文件和被引用文件相对位置关系问题。

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free