nodebb-plugin-embed
Version:
Embed media and rich content in posts: youtube, vimeo, twitch etc. All embeds are based on the rules. You are encouraged to build your own rules to embed everything what is embeddable.
28 lines (27 loc) • 646 B
JavaScript
var webpack = require('webpack');
module.exports = {
entry : "./index.js",
output : {
path : "../../public/js",
filename : "acp.js",
libraryTarget: "amd",
library : "admin/plugins/embed"
},
module : {
loaders: [
{
test: /\.js$/, exclude: /node_modules/, loader: "babel-loader"
}
]
},
watchOptions: {
poll: 1000
},
plugins : [
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
}
})
]
};