webpack-path-rewriter icon indicating copy to clipboard operation
webpack-path-rewriter copied to clipboard

Document how to include the file processed by PathRewriterPlugin

Open AndrewRayCode opened this issue 9 years ago • 1 comments

Right now it is not clear how PathRewriterPlugin is supposed to access the files it touches. Are you supposed to require() the files? Are you supposed to add them as an entry point?

AndrewRayCode avatar Apr 07 '15 00:04 AndrewRayCode

Yeah, this really needs documenting. I'll leave this issue opened until it is done. For now, please see this for an example of basic usage (I've added it just now).

skozin avatar Apr 07 '15 00:04 skozin