Browser extension development plugin for vue-cli 3.0
LGPL-3.0 License
Bot releases are hidden (Show)
Published by adambullmer almost 5 years ago
Removed modesToZip
from options. The functionality behind modesToZip
now relies on the NODE_ENV
environment variable to produce a zipped artifact.
Published by adambullmer almost 5 years ago
Fixes a minor bug in a scaffolded background.js file, where the incorrect message listener would be used in the event the user scaffolded the app with both the background and popup options selected.
This only fixes new scaffolds, for existing projects who are trying to continue to use the default background script listener, just change the first line of your src/background.js
to this:
browser.runtime.onMessage.addListener(function (request, sender, sendResponse) {
Published by adambullmer almost 5 years ago
This fixes a bug where content scripts and background scripts were not being executed when using the dev server.
Published by adambullmer almost 5 years ago
Exposing configuration options for webpack-extension-reloader
Published by adambullmer about 5 years ago
Fix bug where vue's filename hashing config option wasn't respected
Published by adambullmer about 5 years ago
Security update for eslint
-> eslint-utils
Published by adambullmer about 5 years ago
Some refactors to generation and manifest transformation.
Fixed #57 and #58
Published by adambullmer about 5 years ago
Fix generator bug from #56
Published by adambullmer about 5 years ago
Fix a bug where manually specified CSP in production may include the unsupported 'unsafe-eval'
option
Published by adambullmer about 5 years ago
Removing configuration for the browser polyfill. It is now standard and users will have to explicitly opt out of using it.
vue.config.js
module.exports = {
chainWebpack(config) {
config.plugins.delete('provide-webextension-polyfill');
config.module.rules.delete('provide-webextension-polyfill');
},
};
Published by adambullmer about 5 years ago
Fixed #48 where gitignore entries were being unconditionally added on every invoke
Published by adambullmer about 5 years ago
Upgrading to this version does not require that you run vue invoke browser-extension
. The changes only affect how a freshly scaffolded project will look for its files.
main.js
instead of a custom namePublished by adambullmer about 5 years ago
Breaking changes
artifactDir
, changed default zip output directory from {{webpack.output}}-zip
to artifacts
Dangerous
webpackConfig.node.global = true
. I don't recall why it was off in the first place, and being off is causing some issues later outlined in #12.Scaffolding Changes
popup/popup
became popup
content-scripts
folderpopup.abcd1234.js
on pages with html files (ignores background and content-scripts)These scaffolding changes help remove a sticking point for resolving CSS assets with the absolute project root ~@/
syntax
Published by adambullmer about 5 years ago
Added signing key generation option to scaffold
Published by adambullmer about 5 years ago
Published by adambullmer about 5 years ago
Added devtool scaffolding
Published by adambullmer about 5 years ago
fixed manifest.json scaffolding bug
Published by adambullmer about 5 years ago
Published by adambullmer about 5 years ago