This package has been deprecated

Author message:

Moving loader to react-trim package

js-view-loader

1.4.15 • Public • Published

NOTE

For the most up-to-date loader go to react-trim.

Installation

npm i react-trim -S

webpack.config.js

{
  test: /\.jsv$/,
  include: paths.appSrc,
  use: [
      {
        loader: "babel-loader",
        options: {
          // This is a feature of `babel-loader` for webpack (not Babel itself).
          // It enables caching results in ./node_modules/.cache/babel-loader/
          // directory for faster rebuilds.
          cacheDirectory: true
          }
      },
      {
        loader: "react-trim/loader/view",
        options: {
          modules: "es6"
        }
      }
  ]
}

Package Sidebar

Install

npm i js-view-loader

Weekly Downloads

33

Version

1.4.15

License

ISC

Unpacked Size

7.38 kB

Total Files

3

Last publish

Collaborators

  • abubakir1997