GithubHelp home page GithubHelp logo

dferber90 / fake-file-loader Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 2 KB

[DEPRECATED] Like file-loader, but doesn't emit files

Home Page: https://medium.com/@dferber90/enabling-assets-for-server-side-rendering-in-webpack-a843a5ebeb0c#.16a9dt3m0

JavaScript 100.00%

fake-file-loader's Introduction

fake-file-loader's People

Contributors

dferber90 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fake-file-loader's Issues

Deprecation notice

File-loader supports this behavior out of the box. No need for this plugin.

https://github.com/webpack/file-loader

By default a file is emitted, however this can be disabled if required (e.g. for server side packages).

var url = require("file?emitFile=false!./file.png");
// => returns the public url but does NOT emit a file
// => returns i. e. "/public-path/0dcbbaa701328a3c262cfd45869e351f.png"

As a result of this, this package should be deprecated (and marked as so on npm).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.