remove source map error with '--sourcemap=none' flag