Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (32 sloc) 984 Bytes
import * as CopyWebpackPlugin from "copy-webpack-plugin";
import * as path from "path";
import * as PermissionsOutputPlugin from "webpack-permissions-plugin";
import getBaseConfig from "../../webpack.dev";
const baseConfig = getBaseConfig(__dirname);
module.exports = Object.assign(
{
plugins: [
new CopyWebpackPlugin([
{
from: "phantomjs/phantomjs_linux-x86_64",
to: "phantomjs"
},
{
from: "phantomjs/screenshot.js",
to: "phantomjs"
}
]),
new PermissionsOutputPlugin({
buildFiles: [
path.join(
baseConfig.output.path,
"service",
"phantomjs",
"phantomjs_linux-x86_64"
)
]
})
]
},
baseConfig
);
You can’t perform that action at this time.