Wondering what’s next for npm?Check out our public roadmap! »

poi-preset-resolve-extensions

1.0.0 • Public • Published

poi-preset-resolve-extensions

Build Status

Resolve extensions on Poi.

Installation

Install using NPM or Yarn.

npm install poi-preset-resolve-extensions --save-dev
 
# With Yarn use the command below 
yarn add poi-preset-resolve-extensions -D

Usage

Add to poi presets with you desired extensions.

// ./poi.config.js
module.exports = {
  presets: [
    require('poi-preset-resolve-extensions')(['.sss', '.graphql'])
  ]
};

Then imported file's will be resolved without say it's extensions.

import './style/theme'; // Automatically resolved to './style/theme.sss'

License

Released under MIT license. You can see it here.

Install

npm i poi-preset-resolve-extensions

DownloadsWeekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

247 kB

Total Files

9

Last publish

Collaborators

  • avatar