UNPKG

react-waitforanimation

Version:

Declarative way to wait for an CSS transistion to finish before doing heavy work

30 lines (28 loc) 526 B
const webpack = require("webpack"); module.exports = { entry: './example/src/index.js', devtool: 'eval-source-map', output: { fileName: 'bundle.js', }, module: { loaders: [ { test: /\.js/, exclude: /node_modules/, loader: 'babel' }, { test: /\.css$/, loaders: [ 'style-loader', 'css-loader' ] }], }, devServer: { inline: true, port: 4000, contentBase: './example' }, }