Just a playground for connect mod rewrite, which we use in our gulpfile (in tandem with webpack).
Testing BrowserSync’s rewrite rules (using connect-modrewrite) can be a pain in the back,
this module uses the same mod rewriter and allows dynamic testing for the main project.
npm i
npm run dev
(you can use the PORT
env var, default is 4100)http://localhost:4100/test
http://localhost:4100/hu-hu/profile