fs-loader

0.0.1 • Public • Published

Webpack loader for copy file content to filesystem

Copy file contents to filesystem, even if run under webpack-dev-server

Usage:

require('fs-loader?name=../../build/public/[name].[ext]!./templates/index.html');

copy ./templates/index.html to ../../build/public/[name].[ext]

License

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

Package Sidebar

Install

npm i fs-loader

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • istarkov