getkey / rollup-plugin-obfuscator

The most powerful rollup plugin for javascript-obfuscator.
Mozilla Public License 2.0
112 stars 9 forks source link

component CSS not working #10

Open sebolio opened 1 year ago

sebolio commented 1 year ago

Describe the bug

(i edited this issue because i found out the actual problem later on)

To Reproduce

  1. have a working vue 3 project with vite
  2. follow install instructions
  3. do npm run build
  4. try the compiled site with live-server

Stack trace

Package versions: "rollup-plugin-obfuscator": "^0.2.2", "javascript-obfuscator": "^4.0.0",

getkey commented 1 year ago

Could you send me a reduced test case, maybe a repo with that problem?

moieo commented 1 year ago

Could you send me a reduced test case, maybe a repo with that problem?

I also met a similar problem.

The specifier “@/views/home/MessagePage.vue” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”. 

javascript-obfuscator: 4.0.0 vite: 3.2.5

this is my vite.config.ts

router/index.ts

I don't think this mistake should occur because I have added resolve.alias