Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Problem with strippedPropertis #124

Open
fprijate opened this issue Aug 5, 2018 · 1 comment
Open

Problem with strippedPropertis #124

fprijate opened this issue Aug 5, 2018 · 1 comment

Comments

@fprijate
Copy link
Contributor

fprijate commented Aug 5, 2018

I am using Vue.js and nw-vue-devtools extension.
my package.json :

{
   ...
   "chromium-args": "--mixed-context --load-extension='./node_modules/nw-vue-devtools/extension'",
    ...
    "build" : {
      ...
      "strippedProperties": [
         "build",
         "chromium-args"
       ]
    ...
}

So my build stripps off complete chromium-arg (also --mixed-context).
Is there a way to strip off only extension.
Maybe new argument "changedBuildProperties" : { "chromium-args": "--mixed-context" }

@fprijate
Copy link
Contributor Author

fprijate commented Aug 5, 2018

Maybe a solution for having different dist and dev properties would be to redefine property under "build".
For example

{
   ...
   "chromium-args": "--mixed-context --load-extension='./node_modules/nw-vue-devtools/extension'",  
    ...
   "build" :  {
        "overriddenProperties" : [
             {"chromium-args": "--mixed-context"},
             ...
         ],
         "strippedProperties" : ["scripts" ]  
    }
}

@fprijate fprijate closed this as completed Aug 5, 2018
@fprijate fprijate reopened this Aug 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant