"use strict";
const path = require('path');
module.exports = {
    entry: './index.ts',
    module: {
        rules: [
            {
                test: /\.ts?$/,
                use: 'ts-loader',
                exclude: /node_modules/,
            },
            {
                test: /\.css$/,
                use: ['style-loader', 'css-loader'],
                exclude: /node_modules/,
            },
            {
                test: /\.html$/,
                use: 'html-loader',
                exclude: /node_modules/,
            },
            {
                test: /\.json$/,
                type: 'json',
                exclude: /node_modules/,
            },
        ],
    },
    resolve: {
        extensions: ['.ts', '.js', '.json', '.html', '.css'],
    },
    devtool: false,
    output: {
        filename: 'foundation-css.cjs',
        path: path.resolve(__dirname, 'dist/styles/cjs'),
        library: {
            type: 'commonjs'
        },
        globalObject: 'this',
        publicPath: '/',
    },
};
//# sourceMappingURL=webpack.config.cjs.map