Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion, the font path should config,if you use ../fonts/balaa.ttf, we can't pack all js to one file #53

Open
introspection3 opened this issue Oct 27, 2021 · 5 comments

Comments

@introspection3
Copy link

introspection3 commented Oct 27, 2021

const fontPath = path.join(__dirname, '../fonts/Comismsh.ttf');
this is not good,we could not pack all.js to one js

image

@moieo
Copy link

moieo commented Aug 11, 2022

Yes, I have the same problem.

@tetron432
Copy link

Is this project still active?

@moieo
Copy link

moieo commented Dec 31, 2022

Is this project still active?

I'm still using it.

@ujangpudin04
Copy link

please give me example , because when i am try using in next js don't work

@0-don
Copy link

0-don commented May 11, 2024

/** @type {import('next').NextConfig} */
const nextConfig = {
  webpack: (config, { isServer }) => {
    if (isServer) {
      config.externals.push("svg-captcha");
    }

    return config;
  },
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants