psd-layout-loader

0.0.1 • Public • Published

psd-layout-loader

npm license

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'
        }
      }
    ]
  }
}

Readme

Keywords

Package Sidebar

Install

npm i psd-layout-loader

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.63 kB

Total Files

4

Last publish

Collaborators

  • zprodev