1.0.1 • Published 7 years ago

unit8array-loader v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Downloads Downloads NPM Version Dependencies Dev Dependencies License

npm install --save-dev uint8array-loader

Use the loader either via your webpack config, CLI or inline.

Via webpack config (recommended)

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.bfbs$/,
        use: 'unit8array-loader'
      }
    ]
  }
}

In your application

import txt from 'file.bfbs';

CLI

webpack --module-bind 'bfbs=uint8array-loader'

In your application

import txt from 'file.bfbs';

Inline

In your application

import txt from 'unit8array-loader!./file.bfbs';
1.0.1

7 years ago

1.0.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago