jellyfin-web/webpack.common.js
2019-10-01 02:58:05 +03:00

19 lines
383 B
JavaScript

const path = require("path");
const CopyPlugin = require("copy-webpack-plugin");
module.exports = {
context: path.resolve(__dirname, "src"),
entry: "./bundle.js",
resolve: {
modules: [
path.resolve(__dirname, "node_modules")
]
},
plugins: [
new CopyPlugin([{
from: "**/*",
to: "."
}])
]
};