UNPKG

quill1-table

Version:

Table functionality for quilljs. Forked from https://github.com/acatec/quill-table-tbf which is a fork of original https://github.com/dost/quilljs-table

42 lines (40 loc) 1.11 kB
const path = require('path'); const webpack = require('webpack'); module.exports = { entry: './src/demo.js', output: { filename: 'demo.js', path: path.resolve(__dirname, 'demo') }, module: { rules: [ { test: /\.css$/, use: [ 'style-loader', 'css-loader' ] }, { test: /\.js$/, exclude: /(node_modules)/, use: { loader: 'babel-loader', options: { presets: ["@babel/preset-env"], plugins: [ "@babel/plugin-transform-runtime", "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-object-rest-spread" ], } } } ] }, plugins: [ new webpack.SourceMapDevToolPlugin({ filename: 'demo.js.map', }), ] };