- Node.js
- yarn
$ yarn start
$ yarn build
The following default values can be changed by editing config. directory
in package.json
import foo as bar from '@/baz';
Default resolved path: assets/js
*@
is the alias of the resolved path
.foo {
background-image: url(assets/images/foo.jpg);
}
img(src="assets/images/foo.jpg")
img(src="path/to/file.jpg?inline")
img(src="path/to/file.svg?include)
img(src="path/to/file.jpg?as=webp")
img(src="path/to/file.jpg?as=avif")