const activeTabs = await internals.getActiveTabs();
const execution = await internals.getRoot().tabs.executeScript(activeTabs[0].id, {
- file: '/content_script.js'
+ file: '/build/content_script.js'
});
if (!execution || !execution[0]) {
const config = {
// Entry
- entry:'./junction.js', // Output
+ entry:'./content_script.js', // Output
output: {
path: path.resolve(__dirname, 'build'),
- filename: 'junction.js',
+ filename: 'content_script.js',
}, // Loaders
module: {
rules : [
node: { fs: 'empty' },// Plugins
plugins: [],
};// Exports
-module.exports = config;
\ No newline at end of file
+module.exports = config;