// before
var foo = require("../../../../../lib/foo");
//after
var foo = require("foo");
// the way to do it
{
"name": "bar",
"version": "1.0.0",
"dependencies": {
"foo": "./lib/foo",
}
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.