Real unit test (isolation, no children render)
Calls:
- constructor
- render
import webpack from "webpack"; | |
import ExtractTextPlugin from "extract-text-webpack-plugin"; | |
import CopyWebpackPlugin from "copy-webpack-plugin"; | |
import WebpackNotifierPlugin from "webpack-notifier"; | |
const extractSass = new ExtractTextPlugin({ | |
filename: "css/app.css" | |
}); | |
export default { |
Note:
When this guide is more complete, the plan is to move it into Prepack documentation.
For now I put it out as a gist to gather initial feedback.
If you're building JavaScript apps, you might already be familiar with some tools that compile JavaScript code to equivalent JavaScript code: