0.0.1 • Published 6 years ago
psd-layout-loader v0.0.1
psd-layout-loader
Instructs webpack to emit the required img as file and to return its psd layout
Install
npm install --save-dev psd-layout-loader
Usage
import psdLayout from './sample.psd'
webpack.config.js
module.exports = {
module: {
rules: [
{
test: /\.psd$/,
loader: 'psd-layout-loader',
options: {
outImgDir : './dist'
}
}
]
}
}
0.0.1
6 years ago