Newer
Older
CrypticOreWallet / craco.config.js
@Drew Lemmy Drew Lemmy on 8 Aug 2020 417 bytes feat: initial commit
const path = require("path");
const CracoAlias = require("craco-alias");

module.exports = {
  plugins: [
    {
      plugin: CracoAlias,
      options: {
        source: "tsconfig",
        baseUrl: ".",
        tsConfigPath: "./tsconfig.extend.json"
      }
    }
  ],

  webpack: {
    alias: {
      scss: path.resolve(__dirname, "src/scss/"),
      fontello: path.resolve(__dirname, "src/fontello/")
    }
  }
};