UNPKG

@nurun-sf/spark-component

Version:

A tool for building spark components

13 lines (9 loc) 378 B
'use strict'; const webpack = require('webpack'); const getWebpackCallback = require('../lib/get-webpack-callback'); const getSimpleWebpackOptions = require('../lib/get-simple-webpack-options'); module.exports = function (done) { var opts = getSimpleWebpackOptions('demos/scripts/_demo.js'); var callback = getWebpackCallback('demo', done); webpack(opts, callback); };