webpack-tandem-jsx-loader
JSX loader to help map JSX elements to their original source expression
Last updated 2 years ago by tandem .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install webpack-tandem-jsx-loader 
SYNC missed versions from official npm registry.

This Webpack loader adds additional information to JSX elements to help Tandem write JSX code. Currently it only works with React, but more libraries will be supported soon.

Here's basic Webpack config example:


exports.config = {
  entry: 'src/index.ts',
  output: {
    filename: 'out/index.bundle.js',
  },
  module: {
    loaders: [
      {
        test: /tsx?/,
        loaders: 'webpack-tandem-jsx-loader!ts-loader?sourceMap'
      }
    ]
  }
};

Setup Checklist

Things that you need to do to your application configuration for this loader to work properly:

  • [ ] Turn on source maps for all loaders in your webpack config. This usually just means adding ?sourceMap.
  • [ ] Install the proper source code editor for Tandem.

Current Tags

  • 1.0.34                                ...           latest (2 years ago)

15 Versions

  • 1.0.34                                ...           2 years ago
  • 1.0.33                                ...           3 years ago
  • 1.0.31                                ...           3 years ago
  • 1.0.30                                ...           3 years ago
  • 1.0.29                                ...           3 years ago
  • 1.0.28                                ...           3 years ago
  • 1.0.24                                ...           3 years ago
  • 1.0.23                                ...           3 years ago
  • 1.0.22                                ...           3 years ago
  • 1.0.21                                ...           3 years ago
  • 1.0.20                                ...           3 years ago
  • 1.0.19                                ...           3 years ago
  • 1.0.18                                ...           3 years ago
  • 1.0.17                                ...           3 years ago
  • 1.0.16                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 18
Dependencies (5)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |