editorjs-table-readonly
Version:
Table for Editor.js with configurable rows and columns and readonly mode
24 lines (22 loc) • 452 B
JavaScript
const path = require('path');
module.exports = {
entry: './src/plugin.js',
output: {
filename: 'bundle.js',
path: path.join(__dirname, '/dist'),
library: 'Table',
libraryTarget: 'umd'
},
module: {
rules: [
{
test: /\.pcss$/,
use: ['style-loader', 'css-loader', 'postcss-loader']
},
{
test: /\.svg$/,
loader: 'svg-inline-loader?removeSVGTagAttrs=false'
}
]
}
};