const path = require('path'); const webpack = require('webpack'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); module.exports = { entry: ['./ts/index.tsx'], output: { path: path.join(__dirname, '/public'), filename: 'bundle.js', chunkFilename: 'bundle-[name].js', publicPath: '/', }, devtool: 'source-map', resolve: { modules: [path.join(__dirname, '/ts'), 'node_modules'], extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.md'], alias: { ts: path.join(__dirname, '/ts'), less: path.join(__dirname, '/less'), md: path.join(__dirname, '/md'), }, }, module: { rules: [ { test: /\.js$/, loader: 'source-map-loader', exclude: [ // instead of /\/node_modules\// path.join(process.cwd(), 'node_modules'), path.join(process.cwd(), '../..', 'node_modules'), ], }, { test: /\.tsx?$/, loader: 'awesome-typescript-loader', }, { test: /\.md$/, use: 'raw-loader', }, { test: /\.less$/, loader: 'style-loader!css-loader!less-loader', exclude: /node_modules/, }, { test: /\.css$/, loaders: ['style-loader', 'css-loader'], }, { test: /\.json$/, loader: 'json-loader', }, ], }, devServer: { port: 3572, historyApiFallback: { // Fixes issue where having dots in URL path that aren't part of fileNames causes webpack-dev-server // to fail. Doc versions have dots in them, therefore we special case these urls to also load index.html. // Source: https://github.com/cvut/fittable/issues/171 rewrites: [ { from: /^\/docs\/.*$/, to: function() { return 'index.html'; }, }, ], }, disableHostCheck: true, }, plugins: process.env.NODE_ENV === 'production' ? [ // Since we do not use moment's locale feature, we exclude them from the bundle. // This reduces the bundle size by 0.4MB. new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify(process.env.NODE_ENV), }, }), // TODO: Revert to webpack bundled version with webpack v4. // The v3 series bundled version does not support ES6 and // fails to build. new UglifyJsPlugin({ uglifyOptions: { mangle: { reserved: ['BigNumber'], }, }, }), ] : [], }; .4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/swftools
Commit message (Expand)AuthorAgeFilesLines
* Remove USE_REINPLACE for categories starting with a Gedwin2006-05-081-1/+0
* - Add SHA256pav2005-11-261-0/+1
* - Update to 0.7.0pav2005-09-013-5/+5
* At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1
* Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1
* - Update to 0.6.3ahze2005-03-024-7/+16
* Update to version 0.6.2krion2004-10-124-101/+24
* Update to version 0.6.1krion2004-08-227-55/+115
* upgrade to 0.6.0ijliao2004-08-165-7/+59
* - Update to version 0.5.1krion2004-03-163-7/+11
* USE_BISON to unbreak the build.arved2004-02-171-2/+1
* BROKEN: Does not compilekris2004-02-171-0/+2
* - Update to version 0.5.0krion2004-02-083-45/+47
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* SIZEify.trevor2004-01-291-0/+1
* Update to 0.4.4.adamw2003-04-223-7/+6
* chase t1lib versionijliao2003-03-241-1/+2
* de-pkg-commentknu2003-02-212-1/+1
* graphics/swftools to 0.4.3edwin2003-01-123-4/+6
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* Update to 0.4.2dwcjr2002-09-012-2/+2
* Update to 0.4.1pat2002-07-232-2/+2
* Add USE_REINPLACE where appropriate.sobomax2002-06-191-0/+1
* Update to 0.4.0pat2002-06-182-3/+3
* Update to 0.3.1pat2002-06-013-9/+15